Welcome Guest, Not a member yet? Register   Sign In
system/libraries/Router.php function _validate_request
#1

[eluser]Unknown[/eluser]
Hello together,

i found following bug on function _validate_request($segments) on line 201:

Code:
if (file_exists(APPPATH.'controllers/'.$segments[0].EXT))

if i check the path "application/controllers/login.php", file_exists returns a false, because the function is case sensitive on linux.

routes.php
Code:
$route['default_controller'] = "Login";

the default controller is set to "Login" but $segments[0] contains the value "login".

so i hope you understand my problem, because i get a "404 page not found" concerning this case sensitive function.

greetings


Messages In This Thread
system/libraries/Router.php function _validate_request - by El Forum - 03-25-2010, 12:54 PM
system/libraries/Router.php function _validate_request - by El Forum - 03-26-2010, 06:14 AM
system/libraries/Router.php function _validate_request - by El Forum - 03-26-2010, 08:22 AM
system/libraries/Router.php function _validate_request - by El Forum - 03-26-2010, 08:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB