如何放置此
Zend_Filter::setDefaultNamespaces(数组('App_Filter'((;
在ini文件中?
提前谢谢。
再见
试试这样的。。。
在application.ini
文件中,添加
filterNamespaces.0 = "App_Filter"
然后在您的Bootstrap
类中
protected function _initFilterNamespaces()
{
$namespaces = $this->getOption('filterNamespaces');
Zend_Filter::setDefaultNamespaces($namespaces);
}