Default Controller |
[eluser]kunitsuji From Japan[/eluser]
Hello of you I cannot explain well because I cannot speak English. Example. $route['default_controller'] = "welcome"; controllers/welcome.php ==> http://domain.com/index.php ==> welcome (OK) controllers/foo.php ==> http://domain.com/index.php/foo ==> foo (OK) http://domain.com/index.php/foe ==> 404 not found (OK) controllers/subdir/foe.php ==> http://domain.com/index.php/subdir/foe/ ==> foe (OK) http://domain.com/index.php/subdir/foo/ ==> welcome (?) http://domain.com/index.php/subdir/bar/ ==> 404 not found(OK) When thinking about the example If it becomes 404 when the one that doesn't exist in the subdirectory is specified , I thought that when only the subdirectory was specified to 404 usual. |
Messages In This Thread |
Default Controller - by El Forum - 06-08-2008, 02:26 AM
Default Controller - by El Forum - 06-08-2008, 02:45 AM
Default Controller - by El Forum - 06-08-2008, 02:20 PM
Default Controller - by El Forum - 06-08-2008, 03:47 PM
Default Controller - by El Forum - 06-08-2008, 04:15 PM
Default Controller - by El Forum - 06-08-2008, 10:43 PM
Default Controller - by El Forum - 06-10-2008, 08:17 AM
Default Controller - by El Forum - 07-07-2008, 07:24 PM
Default Controller - by El Forum - 07-11-2008, 02:44 AM
|