Harro Verton wrote on Friday 5th of August 2011:So it is not installed in the document root, but in folder called 'my-app' in the document root? In that case you'll have to update the config, as the generated URL's need to be prefixed by 'my-app'.
Set your base_url to '/my-app/', and Fuel will generate the correct URL's.
Harro Verton wrote on Sunday 7th of August 2011:The base_dir isn't involved in loading code, that works relative to the index.php, based on the paths you have defined in there. But for classes like Assets and Uri to generate the correct URI's (prefixed with /my-app/), the base_dir must be set correctly, as it will be prepended to any URI generated.
Harro Verton wrote on Sunday 7th of August 2011:The base_dir isn't involved in loading code, that works relative to the index.php, based on the paths you have defined in there. But for classes like Assets and Uri to generate the correct URI's (prefixed with /my-app/), the base_dir must be set correctly, as it will be prepended to any URI generated.
It looks like you're new here. If you want to get involved, click one of these buttons!