X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Furlmapper.php;h=931b5c3c2a1cf554a5f35ac7229d7e2fa59a0c82;hb=90e93b9656ac56e85cc52943541b046df2874a44;hp=3a6f70fcdaee525cd5bf9c8b6326ee9bdfe82f74;hpb=1d111533960686a86776f1f8a2c5d583e11792e5;p=quix0rs-gnu-social.git diff --git a/lib/urlmapper.php b/lib/urlmapper.php index 3a6f70fcda..931b5c3c2a 100644 --- a/lib/urlmapper.php +++ b/lib/urlmapper.php @@ -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)