From 9dc51ea61fb15dd5604193ed560b196e0f22aacf Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 14 Mar 2017 19:45:09 +0000 Subject: [PATCH] route : do not cache the baseURL if the Absolute parameter is set git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3421 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.php b/route.php index c7cacfc..80cf0e5 100644 --- a/route.php +++ b/route.php @@ -79,7 +79,7 @@ class route { if ($this->module === NULL) $this->module = $module; - if ($this->baseURL !== "") + if ($this->baseURL !== "" && $absolute == false) return $this->baseURL; if (!isset ($_SERVER["SERVER_PORT"]))