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")
|
||||
exit;
|
||||
$destURL = trim ($destURL);
|
||||
$baseURL = $this->baseURL ($module);
|
||||
echo "baseURL=$baseURL,SCript=".$_SERVER["SCRIPT_NAME"];
|
||||
$baseURL = $this->baseURL ();
|
||||
if ($module !== "")
|
||||
$baseURL .= $module."/";
|
||||
$requestURL = $this->requestURL ();
|
||||
if (substr ($requestURL, -1) !== "/")
|
||||
$requestURL .= "/";
|
||||
echo "destURL=$destURL,baseURL=$baseURL,module=$module";
|
||||
if ($destURL[0] === "/")
|
||||
{
|
||||
// Absolute : return to project base
|
||||
|
||||
Reference in New Issue
Block a user