我该怎么说呢
Zend_Filter::setDefaultNamespaces(array('App_Filter'));
在ini文件中?
提前谢谢。
再见
发布于 2011-10-13 06:16:33
试试这样的..。
在application.ini
文件中,添加
filterNamespaces.0 = "App_Filter"
然后在你的Bootstrap
类中
protected function _initFilterNamespaces()
{
$namespaces = $this->getOption('filterNamespaces');
Zend_Filter::setDefaultNamespaces($namespaces);
}
https://stackoverflow.com/questions/7745214
复制相似问题