@@ -270,15 +270,15 @@ |
||
| 270 | 270 | die(); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | - /** |
|
| 274 | - * Function defined for handling PHP exception error message, |
|
| 275 | - * it displays an error message using the function "show_error" |
|
| 276 | - * |
|
| 277 | - * @param object $ex instance of the "Exception" class or a derived class |
|
| 278 | - * @codeCoverageIgnore |
|
| 279 | - * |
|
| 280 | - * @return boolean |
|
| 281 | - */ |
|
| 273 | + /** |
|
| 274 | + * Function defined for handling PHP exception error message, |
|
| 275 | + * it displays an error message using the function "show_error" |
|
| 276 | + * |
|
| 277 | + * @param object $ex instance of the "Exception" class or a derived class |
|
| 278 | + * @codeCoverageIgnore |
|
| 279 | + * |
|
| 280 | + * @return boolean |
|
| 281 | + */ |
|
| 282 | 282 | function fw_exception_handler($ex) { |
| 283 | 283 | if (str_ireplace(array('off', 'none', 'no', 'false', 'null'), '', ini_get('display_errors'))) { |
| 284 | 284 | show_error('An exception is occured in file ' . $ex->getFile() . ' at line ' . $ex->getLine() . ' raison : ' . $ex->getMessage(), 'PHP Exception #' . $ex->getCode()); |