diff options
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php index 1561168e..3539c5aa 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -4,7 +4,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); include_once("aur.inc.php"); include_once("pkgfuncs.inc.php"); -$path = rtrim($_SERVER['PATH_INFO'], '/'); +$path = $_SERVER['PATH_INFO']; $tokens = explode('/', $path); if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { |