首先先在bootstrap.php檔案裡加上下面這個function
protected function _initControllers()
{
$this->bootstrap('FrontController');
//require_once '../library/Controller/Helper/Acl.php';
//require_once '../library/Controller/Plugin/Auth.php';
$acl = new Controller_Helper_Acl();
$auth = Zend_Auth::getInstance();
$front = Zend_Controller_Front::getInstance();
$front->registerPlugin(new Controller_Plugin_Auth($auth, $acl));
}