Ignore:
Timestamp:
Apr 6, 2020, 11:17:40 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved code format.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Error/Error.php

    r784 r873  
    4545    $this->System->ModuleManager->Modules['Log']->NewRecord('Error', 'Log', $Error);
    4646
    47     //if($Config['Web']['ErrorLogFile'] != '')
     47    //if ($Config['Web']['ErrorLogFile'] != '')
    4848    // error_log($Error, 3, $Config['Web']['ErrorLogFile']);
    4949    // Pošli mi zprávu (pokud je to kritická chyba)
    5050    //mail($Config['Web']['AdminEmail'], $Config['Web']['Title'].' - Chybové hlášení', $Error);
    5151    // Show error message
    52     if($this->ErrorHandler->ShowError == true)
     52    if ($this->ErrorHandler->ShowError == true)
    5353    {
    54       if(array_key_exists('REMOTE_ADDR', $_SERVER))
     54      if (array_key_exists('REMOTE_ADDR', $_SERVER))
    5555      {
    5656        echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'."\n".
Note: See TracChangeset for help on using the changeset viewer.