mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
fixing acl shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5413 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d2ed329e76
commit
d83a705dc3
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ class AclShell extends Shell {
|
|||
|
||||
if (!in_array($this->command, array('initdb'))) {
|
||||
$this->Acl = new AclComponent();
|
||||
$this->db =& ConnectionManager::getDataSource($this->dataSource);
|
||||
$controller = null;
|
||||
$this->Acl->startup($controller);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue