Archived
1
0
Fork 0

Started with acl

This commit is contained in:
Fredric N 2010-10-03 01:36:38 +02:00
parent f21f1599bc
commit 6b9366db54
3 changed files with 86 additions and 53 deletions

View file

@ -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.
*