Changeset 437 for trunk/global.php


Ignore:
Timestamp:
Oct 13, 2012, 1:02:07 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Obsluha chyb obnovena a převedena na modul.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/global.php

    r430 r437  
    55if(file_exists($ConfigFileName)) include_once($ConfigFileName);
    66  else die('Nenalezen konfigurační soubor '.$ConfigFileName.'!');
     7include_once('module.php');
    78include_once('database.php');
    8 //include('error.php');
     9include_once('error.php');
    910include_once('code.php');
    1011include_once('Mail.php');
    11 include_once('module.php');
    1212include_once('forms.php');
    1313include_once('page.php');
     
    230230  $System->Database = &$Database;
    231231  $System->AddModule(new Log());
     232  $System->AddModule(new ErrorHandler());
     233  $System->Modules['ErrorHandler']->Init();
    232234  $System->AddModule(new User());
    233235  if(isset($_SERVER['REMOTE_ADDR'])) $System->Modules['User']->Check();
Note: See TracChangeset for help on using the changeset viewer.