-
Notifications
You must be signed in to change notification settings - Fork 26
Fire Ignition
[h3]Introduction[/h3]
Fire Ignition allows you to see log messages and special messages on the fly, using Mozilla Firefox. Developed using CI 1.6.2. Probably compatible with CI 1.5.x and 1.6.x.
[h3]Requirements[/h3]
[url=http://www.getfirebug.com/]Firebug[/url] (Firefox extension) [url=http://www.firephp.org/]FirePHP[/url] (Firebug extension)
[h3]Download[/h3]
File:fireignition_0.1.1.zip (Fire Ignition code + example)
[h3]Included files[/h3]
[b]Core[/b]
/system/application/config/fireignition.php - Config value (fireignition_enabled) to enable/disable /system/application/libraries/Firephp_fake.php - FirePHP Fake Library to disallow the library and mantain interface /system/application/libraries/MY_Controller.php - Controller extension
[b]Example[/b]
/system/application/controllers/welcome.php - How to use
[h3]Usage[/h3]
It is necesary to have Firebug + FirePHP installed on your browser. You have to set fireignition_enabled to true on the config file
$config['fireignition_enabled'] = TRUE;
and your controllers needs to extend MY_Controller instead of Controller.
Then, you will have to load the page, open firebug, go to FirePHP console and voilà, you will be facing something like File:fireignition_screenshot2_0.1.1.gif
[h3]Tips[/h3]
For live sites, you can enable/disabled Fire Ignition in the config file. Also, you can enable it for your IP Address using
[code]
$config['fireignition_enabled'] = $_SERVER['REMOTE_ADDR'] == '127.0.0.1';
[/code]