Fix in index.php for sucky nginx PATH_INFO horrible configuration
This commit is contained in:
parent
1096ecdf54
commit
40c9f8cc39
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ if(!PhangoApp\PhaRouter\Config::$get_path_info) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
$path_info=isset($_GET['path_info']) ? $_GET['path_info'] : '';
|
$path_info=str_replace(PhangoApp\PhaRouter\Config::$base_url.'index.php', '', $_SERVER['REQUEST_URI']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue