Application |
[eluser]davy_yg[/eluser]
Hello, I am trying to seperate my backend and frontend by creating two folders inside of application folder: site & admin. Then, after seperating those files, this error start to appears: Warning: require(application/config/constants.php): failed to open stream: No such file or directory in C:\xampp\htdocs\IndonusaCI2\system\core\CodeIgniter.php on line 65 Fatal error: require(): Failed opening required 'application/config/constants.php' (include_path='.;\\xampp\\php\\PEAR') in C:\xampp\htdocs\IndonusaCI2\system\core\CodeIgniter.php on line 65 Anyone knows how to fix the errors?
[eluser]boltsabre[/eluser]
Check this out, it's a good example of how you should set this up: http://philsturgeon.co.uk/blog/2010/02/C...ing-it-DRY
[eluser]davy_yg[/eluser]
Is that code that gave me possible to divide the application into two folder: site & admin and still works? |
Welcome Guest, Not a member yet? Register Sign In |