default controller in sub dir doesnt work |
[eluser]the real rlee[/eluser]
Hi guys not sure this is related to this bug post about sub applications, but i\'ve found i keep getting 404\'s when i set the default_controller to a controller within a subdir. A few echo statements reveals that the class name for the default controller is not getting set properly in Routes.php - it seems to be using the controller path and not the controller name! Router.php (line 109): Code: $this->set_class($this->default_controller); And then CodeIgniter.php creates the 404 (line 158): Code: $class = $RTR->fetch_class(); // is subdir/controller |
Messages In This Thread |
default controller in sub dir doesnt work - by El Forum - 06-21-2007, 12:08 AM
"default controller in sub dir doesnt work" - by El Forum - 06-21-2007, 12:37 AM
"default controller in sub dir doesnt work" - by El Forum - 06-21-2007, 12:57 AM
"default controller in sub dir doesnt work" - by El Forum - 06-21-2007, 02:08 AM
"default controller in sub dir doesnt work" - by El Forum - 06-21-2007, 02:37 AM
"default controller in sub dir doesnt work" - by El Forum - 06-21-2007, 06:53 AM
"default controller in sub dir doesnt work" - by El Forum - 06-24-2007, 12:53 AM
"default controller in sub dir doesnt work" - by El Forum - 06-24-2007, 05:54 PM
"default controller in sub dir doesnt work" - by El Forum - 06-24-2007, 08:37 PM
"default controller in sub dir doesnt work" - by El Forum - 01-18-2008, 12:28 AM
|