• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Application

#1
[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?

#2
[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

#3
[eluser]davy_yg[/eluser]

Is that code that gave me possible to divide the application into two folder: site & admin and still works?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.