https://github.com/malyshev/yii-debug-toolbar.git
‘log‘=>array( ‘class‘=>‘CLogRouter‘, ‘routes‘=>array( array( ‘class‘=>‘ext.yii-debug-toolbar.YiiDebugToolbarRoute‘, ), // uncomment the following to show log messages on web pages /* array( ‘class‘=>‘CWebLogRoute‘, ), */ ), ), ),
return array( // ‘connectionString‘ => ‘sqlite:‘.dirname(__FILE__).‘/../data/testdrive.db‘, // uncomment the following lines to use a MySQL database ‘connectionString‘ => ‘mysql:host=localhost;dbname=yiitest‘, ‘emulatePrepare‘ => true, ‘username‘ => ‘root‘, ‘password‘ => ‘hadoop123‘, ‘charset‘ => ‘utf8‘, ‘enableProfiling‘=>true, ‘enableParamLogging‘=>true, );
原文:http://dsczs.blog.51cto.com/9480367/1747943