Zend_Db Firebug Profiler via .ini File
August 3rd, 2009
So a couple of days ago I posted a way to get the DB profiler working via your bootstrap but an easier way to get things working is via your configuration .ini file.
Once again you need Firefox, FireBug, and FirePHP. Then in your .ini file add the following lines;
resources.db.isdefaulttableadapter = true resources.db.params.profiler.enabled = true resources.db.params.profiler.class = Zend_Db_Profiler_Firebug
The best part about this is that you can add this code only to load based on the environment set in your .htaccess or index.php file in your public folder.