diff --git a/route.php b/route.php index 3664058..270d4db 100644 --- a/route.php +++ b/route.php @@ -350,11 +350,11 @@ class route { $route = $this->preroute.$route; if ($this->debug) - echo "
==> GET $route ?? ";
+      echo "==> GET $route ?? ";
     if ($this->method () !== "GET")
     {
       if ($this->debug)
-        echo "==> Not a GET Method\n";
+        echo "==> Not a GET Method
\n"; return $this; } @@ -375,11 +375,11 @@ class route { $route = $this->preroute.$route; if ($this->debug) - echo "
==> POST $route ?? ";
+      echo "==> POST $route ?? ";
     if ($this->method () !== "POST")
     {
       if ($this->debug)
-        echo "==> Not a POST Method\n";
+        echo "==> Not a POST Method
\n"; return $this; } @@ -400,11 +400,11 @@ class route { $route = $this->preroute.$route; if ($this->debug) - echo "
==> PUT $route ?? ";
+      echo "==> PUT $route ?? ";
     if ($this->method () !== "PUT")
     {
       if ($this->debug)
-        echo "==> Not a PUT Method\n";
+        echo "==> Not a PUT Method
\n"; return $this; } @@ -425,11 +425,11 @@ class route { $route = $this->preroute.$route; if ($this->debug) - echo "
==> DELETE $route ?? ";
+      echo "==> DELETE $route ?? ";
     if ($this->method () !== "DELETE")
     {
       if ($this->debug)
-        echo "==> Not a DELETE Method\n";
+        echo "==> Not a DELETE Method
\n"; return $this; } @@ -450,11 +450,11 @@ class route { $route = $this->preroute.$route; if ($this->debug) - echo "
==> OPTIONS $route ?? ";
+      echo "==> OPTIONS $route ?? ";
     if ($this->method () !== "OPTIONS")
     {
       if ($this->debug)
-        echo "==> Not a OPTIONS Method\n";
+        echo "==> Not a OPTIONS Method
\n"; return $this; } @@ -497,7 +497,7 @@ class route if ($url === $route) { if ($this->debug) - echo "==> FOUND EQUAL !\n"; + echo "==> FOUND EQUAL !
\n"; $this->mapRoute = $route; try { @@ -543,7 +543,7 @@ class route if ($rcRegex !== FALSE && $rcRegex !== 0) { if ($this->debug) - echo "==> FOUND REGEX !\n"; + echo "==> FOUND REGEX !
\n"; $this->mapRoute = $route; $params = array (); $reflect = new \ReflectionFunction ($function); @@ -581,7 +581,7 @@ class route } if ($this->debug) - echo "==> NO MATCH\n"; + echo "==> NO MATCH
\n"; return $this; }