wrong controller in my first CI 3 |
i just download CI and i take 2 folder application and system to my webfolder,
i move index.php to be inside application and i have modified the .htaccess my webfolder is C:\onedrive\dropbox\template\ and my access url is http://localhost/template/application/index.php but every time i open http://localhost/template/application/ always said : 404 Page Not Found, The page you requested was not found. when i debugging to CodeIgniter.php PHP Code: var_dumpt($RTR->class); Code: 'template' that why my url always wrong, why this is happened? i just modify 'Router.php' in method '_set_request' in the first line to exclude my url for segmentation : PHP Code: // akhyar : exclude url before index.php first become : PHP Code: protected function _set_request($segments = array()) |
Messages In This Thread |
wrong controller in my first CI 3 - by SangPetualang - 09-16-2015, 08:02 PM
RE: wrong controller in my first CI 3 - by mwhitney - 09-17-2015, 07:26 AM
|