Started with acl
This commit is contained in:
parent
f21f1599bc
commit
6b9366db54
3 changed files with 86 additions and 53 deletions
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
require_once APPLICATION_PATH . '/Acl.php';
|
||||
|
||||
/**
|
||||
* Bootstrap this shit
|
||||
*/
|
||||
|
|
@ -278,6 +281,19 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||
return $defaultNamespace;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load accessrights
|
||||
*/
|
||||
protected function _initAcl()
|
||||
{
|
||||
$acl = new Acl();
|
||||
|
||||
Zend_Registry::set('Zend_Acl', $acl);
|
||||
|
||||
return $acl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This is just a temporary.
|
||||
*
|
||||
|
|
|
|||
Reference in a new issue