Skip to content

Commit

Permalink
Fixing issue where prefixes would not be correctly loaded for a request.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 22, 2010
1 parent 1c6b261 commit af2a512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/router.php
Expand Up @@ -711,6 +711,7 @@ public static function getPaths($current = false) {
public static function reload() {
if (empty(self::$_initialState)) {
self::$_initialState = get_class_vars('Router');
self::_setPrefixes();
return;
}
foreach (self::$_initialState as $key => $val) {
Expand Down

0 comments on commit af2a512

Please sign in to comment.