Skip to content

Commit

Permalink
Applying optimization in Router::__parseExtension from 'robustsolutio…
Browse files Browse the repository at this point in the history
…n'. Fixes #301
  • Loading branch information
markstory committed Nov 14, 2009
1 parent 9376826 commit 8b1a2b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/router.php
Expand Up @@ -562,6 +562,7 @@ function __parseExtension($url) {
if (strcasecmp($name, $match) === 0) {
$url = substr($url, 0, strpos($url, '.' . $name));
$ext = $match;
break;
}
}
}
Expand Down

0 comments on commit 8b1a2b1

Please sign in to comment.