Ignore:
Timestamp:
Aug 21, 2013, 9:27:56 PM (11 years ago)
Author:
chronos
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global.php

    r567 r568  
    66include_once(dirname(__FILE__).'/rss.php');
    77include_once(dirname(__FILE__).'/Page.php');
    8 include_once(dirname(__FILE__).'/error.php');
    98if(file_exists(dirname(__FILE__).'/config.php'))
    109  include_once(dirname(__FILE__).'/config.php');
     
    1413// Include application modules
    1514// TODO: Make modules configurable
     15include_once(dirname(__FILE__).'/../Modules/Error/Error.php');
    1616include_once(dirname(__FILE__).'/../Modules/Log/Log.php');
    1717include_once(dirname(__FILE__).'/../Modules/Translation/Translation.php');
     
    6262  }
    6363  foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($_GET[$Index]);
    64  
    65   set_error_handler('ErrorHandler');
    66   set_exception_handler('ExceptionHandler');
    67 
     64   
    6865  // TODO: Global initialized variable should be removed
    6966  $TranslationTree = GetTranslationTree();
    7067 
    7168  // Initialize application modules
     69  $System->ModuleManager->RegisterModule(new ModuleError($System));
    7270  $System->ModuleManager->RegisterModule(new ModuleLog($System));
    7371  $System->ModuleManager->RegisterModule(new ModuleUser($System));
Note: See TracChangeset for help on using the changeset viewer.