]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/urlmapper.php
Added base64 encoding to get RMQ to work
[quix0rs-gnu-social.git] / lib / urlmapper.php
index 3a6f70fcdaee525cd5bf9c8b6326ee9bdfe82f74..931b5c3c2a1cf554a5f35ac7229d7e2fa59a0c82 100644 (file)
@@ -66,7 +66,7 @@ class URLMapper
             throw new Exception(sprintf("Can't connect %s; path has no action.", $path));
         }
 
-        $allpaths[] = $path;
+        $this->allpaths[] = $path;
 
         $action = $args[self::ACTION];
 
@@ -123,7 +123,7 @@ class URLMapper
             }
         }
 
-        throw new Exception(sprintf('No match for path "%s"', $path));
+        throw new NoRouteMapException($path);
     }
 
     function generate($args, $qstring, $fragment)