Jump to content

Recommended Posts

Posted

Wondering if someone could help me out. How do I change my uri from

 

localhost/killerphp/public/index

to

killerphp/index (the way John has it)

 

In other words, when I echo $_SERVER['REQUEST_URI'] on the index page I would like to get:

 

/index

not

/killerphp/public/index

 

(this stuff is in the "Dispatching Requests to Multiple Controllers" video)

 

It would make following along with the videos a lot simpler.

Any suggestions would be appreciated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...