Changeset 61 for trunk/global.php
- Timestamp:
- Dec 31, 2015, 11:02:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/global.php
r56 r61 3 3 session_start(); 4 4 $FileName = dirname(__FILE__).'/config.php'; 5 if(file_exists($FileName)) include ($FileName);5 if(file_exists($FileName)) include_once($FileName); 6 6 else { 7 7 die('Configuration file "'.$FileName.'" not found.'); 8 8 } 9 include_once('config.php');10 9 include_once('Version.php'); 11 10 include_once('types.php'); 12 11 include_once('classes.php'); 13 include_once('Packages/Common/ Package.php');12 include_once('Packages/Common/Common.php'); 14 13 $PrefixMultiplier = new PrefixMultiplier(); 14 $ErrorHandler = new ErrorHandler(); 15 $ErrorHandler->Start(); 16 $ErrorHandler->ShowError = $Config['Web']['ShowError']; 15 17 include_once('stat_functions.php'); 16 18 $Database = new Database(); … … 55 57 function MakeLink($Target, $Title) 56 58 { 57 return('<a href="'.$Target.'">'.$Title.'</a>'); 59 return('<a href="'.$Target.'">'.$Title.'</a>'); 58 60 } 59 61 … … 87 89 foreach($Class as $Index => $Item) 88 90 { 89 if(!array_key_exists($Index, $Values)) $Values[$Index] = $Item['Default']; 91 if(!array_key_exists($Index, $Values)) $Values[$Index] = $Item['Default']; 90 92 switch($Item['Type']) 91 93 {
Note:
See TracChangeset
for help on using the changeset viewer.