Changeset 568 for trunk/includes/global.php
- Timestamp:
- Aug 21, 2013, 9:27:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r567 r568 6 6 include_once(dirname(__FILE__).'/rss.php'); 7 7 include_once(dirname(__FILE__).'/Page.php'); 8 include_once(dirname(__FILE__).'/error.php');9 8 if(file_exists(dirname(__FILE__).'/config.php')) 10 9 include_once(dirname(__FILE__).'/config.php'); … … 14 13 // Include application modules 15 14 // TODO: Make modules configurable 15 include_once(dirname(__FILE__).'/../Modules/Error/Error.php'); 16 16 include_once(dirname(__FILE__).'/../Modules/Log/Log.php'); 17 17 include_once(dirname(__FILE__).'/../Modules/Translation/Translation.php'); … … 62 62 } 63 63 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($_GET[$Index]); 64 65 set_error_handler('ErrorHandler'); 66 set_exception_handler('ExceptionHandler'); 67 64 68 65 // TODO: Global initialized variable should be removed 69 66 $TranslationTree = GetTranslationTree(); 70 67 71 68 // Initialize application modules 69 $System->ModuleManager->RegisterModule(new ModuleError($System)); 72 70 $System->ModuleManager->RegisterModule(new ModuleLog($System)); 73 71 $System->ModuleManager->RegisterModule(new ModuleUser($System));
Note:
See TracChangeset
for help on using the changeset viewer.