Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _initPlugins()
- {
- $this->bootstrap('FrontController');
- $front = $this->getResource('FrontController');
- $auth = Zend_Auth::getInstance();
- $acl = new Fresh_Acl_Acl($auth);
- $front->setParam('auth', $auth);
- $front->setParam('acl', $acl);
- $front->registerPlugin(new Fresh_Controller_Plugin_Auth($auth, $acl));
- return $front;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement