Zend_Db_Profiler Log FireBug

来源:互联网 发布:ubuntu 重置 编辑:程序博客网 时间:2024/06/09 04:34

http://framework.zend.com/manual/en/zend.db.profiler.html#zend.db.profiler.profilers.firebug

http://framework.zend.com/manual/en/zend.log.writers.html

 

手册两则。。。

 

 

 

 

 

 

 

 

 

 

 

 

[production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 1
site_url="http://localhost/CAPTCHA/"
images_path="images/"
upload_path="http://localhost/CAPTCHA/"
skins_path="http://localhost/CAPTCHA/"
temp_path="http://localhost/CAPTCHA/"
[staging : production]

[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1

[log]
log.adapter                    = pdo_mysql
log.params.host                = localhost
log.params.username            = root
log.params.password            =
log.params.dbname              = test
log.params.profiler.enabled    = true
log.params.profiler.class      = Zend_Db_Profiler_Firebug
[firebugdevelopment]
firebugdatabase.adapter                    = pdo_mysql
firebugdatabase.params.host                = localhost
firebugdatabase.params.username            = root
firebugdatabase.params.password            =
firebugdatabase.params.dbname              = test
firebugdatabase.params.profiler.enabled    = true
firebugdatabase.params.profiler.class      = Zend_Db_Profiler_Firebug

原创粉丝点击