diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-11-03 23:45:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 23:45:36 +0100 |
commit | f3d05dfca77843a869e938028824f19307780939 (patch) | |
tree | 846c5e559360e530d200d897f67b5af02f8795e5 /src/Router/UrlParsing.php | |
parent | aa31c40618b0cc7b43b7a1cb107e97b49e2c06f1 (diff) | |
parent | bd4cb77fbf04923fa31a08fdd1f33f2c0db87864 (diff) | |
download | router-1.0.0.zip router-1.0.0.tar.gz router-1.0.0.tar.bz2 |
Merge pull request #13 from jasny/fix-testsv1.0.0
Fix tests
Diffstat (limited to 'src/Router/UrlParsing.php')
-rw-r--r-- | src/Router/UrlParsing.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Router/UrlParsing.php b/src/Router/UrlParsing.php index 5727085..ee89260 100644 --- a/src/Router/UrlParsing.php +++ b/src/Router/UrlParsing.php @@ -31,10 +31,6 @@ trait UrlParsing $url = rtrim($url, '/'); } - if (substr($url, 0, 2) == '/:') { - $url = substr($url, 2); - } - return $url; } } |