app/library/Services.php: use acl.yml
This commit is contained in:
parent
80a8cdca3f
commit
bd37c593e4
1 changed files with 3 additions and 2 deletions
|
|
@ -70,7 +70,8 @@ class Services extends DiDefault
|
||||||
'app.yml',
|
'app.yml',
|
||||||
'routes.yml',
|
'routes.yml',
|
||||||
'menu.yml',
|
'menu.yml',
|
||||||
'local.yml'
|
'local.yml',
|
||||||
|
'acl.yml'
|
||||||
);
|
);
|
||||||
|
|
||||||
$basePath = APP_PATH . '/app/config/';
|
$basePath = APP_PATH . '/app/config/';
|
||||||
|
|
@ -351,7 +352,7 @@ class Services extends DiDefault
|
||||||
|
|
||||||
protected function _initAcl()
|
protected function _initAcl()
|
||||||
{
|
{
|
||||||
return new Acl();
|
return new Acl($this->get('config')->acl);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _initSharedLogger()
|
protected function _initSharedLogger()
|
||||||
|
|
|
||||||
Reference in a new issue