04-17-2009, 11:23 PM
|
#58 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
I looked at the templates or views, or what you called thme in /application/errors/, most of them are exactly the same, wouldn't it be more logical to just have a $error_type that differs from "Warning", "Fatal", etc. Also remember that fatal errors (E_USER_ERROR and E_RECOVERABLE_ERROR being the only one that can be caught) should terminate execution because something *critical* happened.
Another thing I came across, why implement a File object when SPL already does that in a nice and easy manner:
http://www.php.net/splfileinfo
;)
__________________
|
|
|