4
我认为在SO中安装ZFDebug教程会很好。在ZF上安装ZFDebug工具栏1.10+
我想知道你是否可以使用ZFDebug toolbar
与ZF 1.10+
(我实际上使用1.11.2
)。我有下面的代码在我的引导,但好像没有什么改变:
protected function _initZFDebug()
{
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('ZFDebug');
if ('development' == APPLICATION_ENV) {
$options = array(
'jquery_path' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js',
'plugins' => array('Variables',
'Html',
'Database' => array(),
'File' => array('basePath' => APPLICATION_PATH . '/application'),
'Memory',
'Time',
'Registry',
//'Cache' => array('backend' => $cache->getBackend()),
'Exception')
);
$debug = new ZFDebug_Controller_Plugin_Debug($options);
$this->bootstrap('frontController');
$frontController = $this->getResource('frontController');
$frontController->registerPlugin($debug);
}
}
你是否得到它的工作?你是怎么做到的 ? – max4ever 2011-05-06 09:58:34
@ max4ever - 请参阅(唯一)回答 – nevvermind 2011-05-06 19:28:43