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
This commit is contained in:
2017-03-14 19:45:09 +00:00
parent 6d41eab506
commit 9dc51ea61f

View File

@@ -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"]))