没有 是我想在访问一个不存在的controllers的情况下 不抛出异常而直接回到根目录刚才上网查了一下
其实是这样的
class ErrorController extends Zend_Controller_Action 
{      
public $smarty;
//不存在的controllers 处理
public function errorAction() 
{
$this->baseurl = $this->_request->getBaseUrl();
$this->smarty = Zend_Registry::get('smarty');
$this->smarty->template_dir = "./application/default/templates";
$this->smarty->compile_dir = "./application/default/templates_c";
$this->smarty->assign('baseurl',$this->baseurl);
$this->smarty->display('error.html'); 
}
}还有一句
$frontController->throwExceptions(false);