Changeset 443 for trunk/includes/error.php
- Timestamp:
- Apr 11, 2010, 11:48:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/error.php
r357 r443 2 2 3 3 include_once('global_function.php'); 4 5 function EmptyErrorHandler($Number, $Message, $Filename, $LineNumber, $Variables) 6 { 7 } 4 8 5 9 function CustomErrorHandler($Number, $Message, $Filename, $LineNumber, $Variables) … … 7 11 global $Config; 8 12 13 set_error_handler('EmptyErrorHandler'); 14 9 15 $Date = date('Y-m-d H:i:s'); // časové razítko položky 10 16 $ErrorType = array … … 75 81 if((E_ERROR | E_PARSE) & $Number) die(); 76 82 } 83 set_error_handler('CustomErrorHandler'); 77 84 } 78 85
Note:
See TracChangeset
for help on using the changeset viewer.