From 2af11c27385671259843d2dd330082892dd14fc9 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sat, 17 Sep 2011 18:58:58 +0000 Subject: [PATCH] try PATH_INFO instead of REQUEST_URI, free HP Touchpad from tuv on freenode if it breaks your installation git-svn-id: http://www.observium.org/svn/observer/trunk@2488 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/index.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/html/index.php b/html/index.php index 3129f70aae..61920e41cf 100755 --- a/html/index.php +++ b/html/index.php @@ -1,15 +1,11 @@ $get_var) { } } -$segments = explode('/', trim($_SERVER['REQUEST_URI'], '/')); +$segments = explode('/', trim($_SERVER['PATH_INFO'], '/')); foreach($segments as $pos => $segment) { $segment = urldecode($segment); if($pos == "0")