yii框架的调试插件yii-debug-toolbar
https://github.com/malyshev/yii-debug-toolbar.git
2 , yii框架配置3 , 更改main.php文件'log'=>array('class'=>'CLogRouter','routes'=>array(array('class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',),//uncommentthefollowingtoshowlogmessagesonwebpages/*array('class'=>'CWebLogRoute',),*/),),),
4 , 更改database.php文件returnarray(//'connectionString'=>'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',//uncommentthefollowinglinestouseaMySQLdatabase'connectionString'=>'mysql:host=localhost;dbname=yiitest','emulatePrepare'=>true,'username'=>'root','password'=>'hadoop123','charset'=>'utf8','enableProfiling'=>true,'enableParamLogging'=>true,);
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。