mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
2677567923
commit
c20c355b1b
35
Debug-toolbar.md
Executable file
35
Debug-toolbar.md
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user