Changeset 873 for trunk/Modules/Error/Error.php
- Timestamp:
- Apr 6, 2020, 11:17:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Error/Error.php
r784 r873 45 45 $this->System->ModuleManager->Modules['Log']->NewRecord('Error', 'Log', $Error); 46 46 47 //if ($Config['Web']['ErrorLogFile'] != '')47 //if ($Config['Web']['ErrorLogFile'] != '') 48 48 // error_log($Error, 3, $Config['Web']['ErrorLogFile']); 49 49 // Pošli mi zprávu (pokud je to kritická chyba) 50 50 //mail($Config['Web']['AdminEmail'], $Config['Web']['Title'].' - Chybové hlášení', $Error); 51 51 // Show error message 52 if ($this->ErrorHandler->ShowError == true)52 if ($this->ErrorHandler->ShowError == true) 53 53 { 54 if (array_key_exists('REMOTE_ADDR', $_SERVER))54 if (array_key_exists('REMOTE_ADDR', $_SERVER)) 55 55 { 56 56 echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'."\n".
Note:
See TracChangeset
for help on using the changeset viewer.