2010年1月21日星期四

Re: [fw-mvc] memory usage in zf

> plz give me a example code of adding this plugin in bootstrap

class Bootstrap
{

protected function _initZFDebug()
{
$this->bootstrap('frontcontroller');
Zend_Loader_Autoloader::getInstance()->registerNamespace('ZFDebug');
$this->getResource('frontController')->registerPlugin(new
ZFDebug_Controller_Plugin_Debug());
}

}

There you go.


Best regards,

Andreas

没有评论: