From d2cb63d1e30c28b027d0f211f5b0970c6d717142 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Mon, 19 Sep 2011 08:59:46 +0000 Subject: [PATCH] // $_SERVER['request_uri'] replaced by $_SERVER['REQUEST_URI'] git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8631 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 01cf37a29..f72b9458a 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -166,8 +166,8 @@ class DispatcherCore $this->loadRoutes(); // Get request uri (HTTP_X_REWRITE_URL is used by IIS) - if (isset($_SERVER['request_uri'])) - $this->request_uri = $_SERVER['request_uri']; + if (isset($_SERVER['REQUEST_URI'])) + $this->request_uri = $_SERVER['REQUEST_URI']; else if (isset($_SERVER['HTTP_X_REWRITE_URL'])) $this->request_uri = $_SERVER['HTTP_X_REWRITE_URL']; }