Get an email anytime there's a CI Error - MY_Exceptions library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Get an email anytime there's a CI Error - MY_Exceptions library (/showthread.php?tid=43619) |
Get an email anytime there's a CI Error - MY_Exceptions library - El Forum - 07-18-2011 [eluser]SitesByJoe[/eluser] I wrote a whole bunch of cool libraries for the sites I've been working on recently so I thought I'd share at least one with you. The helper overrides Codeigniter's normal exceptions behaviours and adds in a nicely formatted email message sent for each error. All you need to do is add your own email in and you'll be alerted anytime you have any type of error! Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed.'); |