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:
@@ -79,7 +79,7 @@ class route
|
|||||||
{
|
{
|
||||||
if ($this->module === NULL)
|
if ($this->module === NULL)
|
||||||
$this->module = $module;
|
$this->module = $module;
|
||||||
if ($this->baseURL !== "")
|
if ($this->baseURL !== "" && $absolute == false)
|
||||||
return $this->baseURL;
|
return $this->baseURL;
|
||||||
|
|
||||||
if (!isset ($_SERVER["SERVER_PORT"]))
|
if (!isset ($_SERVER["SERVER_PORT"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user