
Pete Haro - 2011-02-01 00:23:12 -
In reply to message 2 from Nitesh Apte
Your class is very useful, thanks!
BUT the configurations in conf.inc should be embraced in PHP's opening and closing tags:
<?php
/**
* Error Handling Values
*/
define('DEBUGGING', TRUE);
....
?>
because otherwise PHP includes it as is, it doesn't interpret it when requiring the file - so it appears on the page as an HTML-output.
And you didn't document the _fatalError() function and the parts of the other functions aren't documented either.
BUT (!!) your class is very-very good, I'm already using it (I just made some polishing - e.g. sending the error mail with the help of PHPMailer class, and customizing the output, etc.), so I'm thankful to you for publishing this class!
Pete