Changeset 203 for trunk/error.php


Ignore:
Timestamp:
Apr 30, 2009, 11:53:58 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Validace HTML stránky otvírací doby subjektů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/error.php

    r187 r203  
    5353          //$err = "Datum: ".$dt."\nHlášení: ".$errmsg."\nSkript: ".$filename."\nŘádek: ".$linenum;
    5454    // mail($Config['Web']['AdminEmail'], $Config['Web']['Title'].' - Chybové hlášení', $err);          // Pošli mi zprávu (pokud je to kritická chyba)
    55           echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'.
    56     '<meta http-equiv="Content-Language" content="cs">'.
    57     '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>'.
     55          echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"><head>'.
     56    '<meta http-equiv="content-language" content="cs" />'.
     57    '<meta http-equiv="content-type" content="text/html; charset=utf-8" /></head><body>'.
    5858    'Došlo k vnitřní chybě!<br /> O chybě byl uvědoměn správce webu a chybu brzy odstraní.<br /><br />');
    5959        if($Config['Web']['ShowError'] == true) echo('<pre>'.$err.'</pre><br />');                      // V případě ladění chybu i zobraz
Note: See TracChangeset for help on using the changeset viewer.