second MY_ controller not working |
[eluser]murichej[/eluser]
application/core/MY_Controller.php Code: <?php application/core/MY_Controllerfront.php Code: <?php and then I try to extend theese two that one is working: Code: class Blog extends MY_Controller { that one doesn't: Code: class Blog extends MY_Controllerfront { i get Quote:Fatal error: Class 'MY_Controllerfront' not found in C:\xampp\htdocs\MMUblog\application\controllers\front\blog.php on line 3 need help
[eluser]boltsabre[/eluser]
Check this out and let us know if it solves your problems, it's from Phil Sturgeon, he's like the god of CI!!! http://philsturgeon.co.uk/blog/2010/02/C...ing-it-DRY
|
Welcome Guest, Not a member yet? Register Sign In |