Welcome Guest, Not a member yet? Register   Sign In
Excluding sub directory name from url
#1

[eluser]Unknown[/eluser]
My application is located in a sub directory called 'public'. I am using CodeIgniter's site_url() function to generate links, but I would like to exclude the name of the sub directory from the generated link path (i.e. I would like 'http://localhost/xindi-php/' instead of 'http://localhost/xindi-php/public/'). What is the best way to achieve this?

Thank you in advance for your help.
#2

[eluser]Aken[/eluser]
Change your base_url config setting.




Theme © iAndrew 2016 - Forum software by © MyBB