Revert "changes needed to run under web server subdirectory"

This commit is contained in:
Neil Lathwood
2015-08-11 21:25:23 +01:00
parent 9af75b40fa
commit 945ca7f2ea
55 changed files with 98 additions and 123 deletions
-2
View File
@@ -12,8 +12,6 @@ foreach ($_GET as $key => $get_var) {
}
$segments = explode('/', trim($_SERVER['REQUEST_URI'], '/'));
$base_url = parse_url($config["base_url"]);
$segments = explode('/', trim(str_replace($base_url["path"], "", $_SERVER['REQUEST_URI']), '/'));
foreach ($segments as $pos => $segment) {
$segment = urldecode($segment);