Skip to content
World Wide Web Server edited this page Jul 4, 2012 · 20 revisions

[h3]Introduction[/h3]

Fire Ignition allows you to see log messages and special messages on the fly, using Mozilla Firefox. Developed using CI 1.5.3. Probably compatible with CI 1.5.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]

[url=http://www.neonetsi.com.ar/seppo/fire_ignition.rar]Fire Ignition[/url] (Fire Ignition code + example)

[h3]Included files[/h3]

[b]Core[/b]

/system/application/config/config.php - Config value (fireignition) to enable/disable /system/application/libraries/Firephp.php - FirePHP Library /system/application/libraries/MY_Controller.php - Controller extension /system/application/libraries/MY_Log.php - Log 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 enable fire_ignition on the config file

$config['fireignition'] = 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 [url=http://www.neonetsi.com.ar/seppo/fire_ingition.jpg]this[/url].

You can also send special messages using fire ignition and without logging to files using fireignition_message function

[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'] = $_SERVER['REMOTE_ADDR'] == '127.0.0.1';

[/code]

Clone this wiki locally