diff --git a/lib/access.php b/lib/access.php index 24cb326..14179ce 100644 --- a/lib/access.php +++ b/lib/access.php @@ -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;