anvoz / CodeIgniter-Skeleton

A decent starter for most web apps. Includes HMVC, jQuery, Bootstrap, Bootstrap TLDR, Ajax and Template libraries. Unit tests with PHPUnit and vfsStream.
Other
157 stars 100 forks source link

Assets directory not reachable from Auth subdirectories #1

Closed letomdev closed 11 years ago

letomdev commented 11 years ago

Great job !!!! A small issue exists when going to the different auth directories as they cannot reach the Bootstrap css. (only if you don't set the full path which is a pain when working with local and remote). Best regards

anvoz commented 11 years ago

Did you mean the issue only occurs if you don't set the full path for assets_url?

You can load different config files depending on the ENVIRONMENT constant which is defined in index.php. By default, it would be development so you can create a separated config file like application/config/development/assets.php and set the full path in this file.

anvoz commented 11 years ago

Please provide more details if you are still in trouble with this issue.