From 21c01b93eb099b1aaf9dfadfe6cecc15d403ee84 Mon Sep 17 00:00:00 2001 From: xfra35 Date: Wed, 17 Feb 2016 09:35:20 +0100 Subject: [PATCH] Workaround for bug bcosca/fatfree-core#118 --- lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;