diff --git a/index.php b/index.php index aa0db86..a1ac4bf 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,16 @@ 0) $strParam = $_SERVER["PATH_INFO"]; } - - //error_log(json_encode($_SERVER, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); $strPath = $strParam; $strPath = preg_replace("/^\//", "", $strPath); @@ -92,8 +88,6 @@ array_shift($varArgs); - error_log($strParam); - Request::$varArgs = $varArgs; Request::$strResourcePath = $strPath; } @@ -217,18 +211,9 @@ return null; } - - public static function log() - { - //$strPath = $_SERVER["PATH_INFO"]; - - error_log("[{$strPath}] INFO: " . implode(" ", func_get_args())); - } } // Call this no matter what to understand the request: Request::process(); Request::processExtra(); - - Request::log(""); ?>