![]() |
Load sequence - user lib - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Load sequence - user lib (/showthread.php?tid=35847) |
Load sequence - user lib - El Forum - 11-12-2010 [eluser]tim042829[/eluser] I'm stepping thru a CI tutorial via Professional CodeIgnitor (Wrox/Meyer) I've created a directory call resources and and file called std.php in the resources folder. I would like resources/std.php to be loaded as soon as is possible and correct. In index.php, following the DEFINE APPLICATION CONSTANTS section, I added the following lines: Code: define('RESOURCEPATH', $resource_folder.'/'); // @Tim 1)URLs to documentation on the issues regarding loading of resources for CI 2)comments on the correctness of the code above. thanks tim Load sequence - user lib - El Forum - 11-12-2010 [eluser]InsiteFX[/eluser] Code: define('RESOURCEPATH', $resource_folder.'/'); // @Tim InsiteFX |