[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.