From c20c355b1b7495a5eb0dd40c29f1db026ca94065 Mon Sep 17 00:00:00 2001 From: World Wide Web Server <_www@Dwight-Schrutte.local> Date: Wed, 4 Jul 2012 16:05:27 -0700 Subject: [PATCH] ... --- Debug-toolbar.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 Debug-toolbar.md diff --git a/Debug-toolbar.md b/Debug-toolbar.md new file mode 100755 index 00000000..b17f4db0 --- /dev/null +++ b/Debug-toolbar.md @@ -0,0 +1,35 @@ +This is atomatick google translation from Russion language +Original URL is here http://habrahabr.ru/blogs/codeigniter/55477/ + +Pls some one correct it...... + + +Many saw the developer Toolbar for framework Kohana (slizanny, in turn, with Symfony), which has recently spread to Habré. + +I liked it - wish poimet this for themselves. + + +Problems + There are some problems associated with lack of standard features Codeigniter'a - for example, had to expand the library and the Benchmark Log - so if you alter them for your project, you should be very careful when installing - do not overwrite your files and achieve a functional hand. Unfortunately, due to the fact that you can not modify the DB Library - did not get involved logit number series for the query to the database. + +Actually, it was done purely for personal use. Yes, and I work with CI less than a week (the last year, increasing to C # for ASP.NET), so do not be angry if the Toolbar is glyuchit and swear. + +If you have xdebug, Tabs «vars & config» will be displayed beautifully painted dump. + + +Installation : + + 1. Copy the contents of 'application' folder to your application dir + 2. Copy the icon images from the 'images' directory to your site's image directory + + 3. Enable Hooks (application/config/config.php) + 4. Edit application/config/hooks.php add: + + $hook['display_override'] = array( + 'class' => 'DebugToolbar', + 'function' => 'render', + 'filename' => 'DebugToolbar.php', + 'filepath' => 'hooks' + ); + + 5. Configure your toolbar using application/config/debug_toolbar.php file \ No newline at end of file