Debug Toolbar |
[eluser]Kon Wilms[/eluser]
I have made some changes and improvements to the 0.1 Debug Toolbar and packaged it into a 0.2 'release'. Tested on 1.7.2 and has a number of additions/changes. Ofcourse this is for debug only and will impede the performance of your site -- hence I have also added the optional flag debug_key to call the toolbar on demand. Enjoy. CI Debug Toolbar Version 0.2 This is a modified version of the original debug toolbar for CI ported from Kohana Copyright - based on Kohana Debug Toolbar by Aaron Forsander (http://pifantastic.com/kohana-debug-toolbar/) - 0.1 ported to CodeIgniter by quark ([email protected]) - 0.2 additions by Kon Wilms ([email protected]) Installation - copy assets folder to webroot - copy all other content to respective application subdirectories - enable hooks in application config - add the following to config/hooks config: Code: $hook['display_override'] = array( Additions/Changes - config files are generically parsed for all contents - matchbox config files are supported and are listed as modules:/name/config - menu graphic changed - some js/css modifications taken from the kohana debug_toolbar (alignment) - added ability to list files called - debug bar can be enabled if hidden with a debug_key passed as a $_GET parameter - changed all names to debug_toolbar to simplify maintenance - assets moved and categorized Debug_key Functionality - edit the debug_toolbar config, set render to FALSE, set a key, and modify the following): - edit the application config Code: $config['uri_protocol'] = "PATH_INFO"; Fin. Edit: Attached a preview image of 0.2.
[eluser]Shanto[/eluser]
Its help a lot to develop application. Thanks you and thanks to original developer.
[eluser]eoinmcg[/eluser]
hey konfoo! this looks great. many thanks for sharing.
[eluser]CIfan[/eluser]
Thx! In Codeigniter 2.0 I get this message when the 'benchmarks' panel is enabled, could you help? Code: A PHP Error was encountered
[eluser]michalsn[/eluser]
Move "MY_Benchmark.php" file from "application/libraries" to "application/core". It should work.
[eluser]Bas Vermeulen[/eluser]
Awesome tool michalsn! I can confirm that moving MY_Benchmark.php to the /application/core folder works Cheers m8!
[eluser]CIfan[/eluser]
[quote author="michalsn" date="1288390888"]Move "MY_Benchmark.php" file from "application/libraries" to "application/core". It should work.[/quote] Thx, used it in my first CI2 install...
[eluser]bjora857[/eluser]
[quote author="michalsn" date="1288390888"]Move "MY_Benchmark.php" file from "application/libraries" to "application/core". It should work.[/quote] Should I do the same when using it with 1.72? I get the same error, and I cant find a core directory in application folder |
Welcome Guest, Not a member yet? Register Sign In |