route : remove debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2083 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -137,14 +137,12 @@ class route
|
|||||||
if (php_sapi_name () === "cli")
|
if (php_sapi_name () === "cli")
|
||||||
exit;
|
exit;
|
||||||
$destURL = trim ($destURL);
|
$destURL = trim ($destURL);
|
||||||
$baseURL = $this->baseURL ($module);
|
$baseURL = $this->baseURL ();
|
||||||
echo "baseURL=$baseURL,SCript=".$_SERVER["SCRIPT_NAME"];
|
|
||||||
if ($module !== "")
|
if ($module !== "")
|
||||||
$baseURL .= $module."/";
|
$baseURL .= $module."/";
|
||||||
$requestURL = $this->requestURL ();
|
$requestURL = $this->requestURL ();
|
||||||
if (substr ($requestURL, -1) !== "/")
|
if (substr ($requestURL, -1) !== "/")
|
||||||
$requestURL .= "/";
|
$requestURL .= "/";
|
||||||
echo "destURL=$destURL,baseURL=$baseURL,module=$module";
|
|
||||||
if ($destURL[0] === "/")
|
if ($destURL[0] === "/")
|
||||||
{
|
{
|
||||||
// Absolute : return to project base
|
// Absolute : return to project base
|
||||||
|
|||||||
Reference in New Issue
Block a user