Skip to content

Commit

Permalink
Workaround for bug f3-factory/fatfree-core#118
Browse files Browse the repository at this point in the history
  • Loading branch information
xfra35 committed Feb 17, 2016
1 parent 33b9990 commit 21c01b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function parseRoute($str) {
if (preg_match('/^\h*(\*|[\|\w]*)\h*(\H+)/',$str,$m)) {
list(,$verbs,$path)=$m;
if ($path[0]=='@')
$path=\Base::instance()->ALIASES[substr($path,1)];
$path=\Base::instance()->get('ALIASES.'.substr($path,1));
}
if (!$verbs || $verbs=='*')
$verbs=\Base::VERBS;
Expand Down

0 comments on commit 21c01b9

Please sign in to comment.