[eluser]Macros[/eluser]
This seems to have been mentioned before, but still seems to be a bug 1.6.2.
Basically, if the default controller looks like:
Code:
$route['default_controller'] = "folder/controller";
Then the class file is loaded... but the class can't be found.
CodeIgniter.php:
Code:
Line 154: include(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT);
Line 169: $class = $RTR->fetch_class();
Using the route above, then
Code:
$class = 'folder/controller'
Code:
Line 173: if ( ! class_exists($class)...
This will return false, as the class name being checked is "folder/controller", but the REAL class name is "controller", and it was loaded in the include line.
Cameron.