Changeset 341 for trunk/global.php
- Timestamp:
- Jan 17, 2012, 8:40:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/global.php
r340 r341 7 7 8 8 include_once('database.php'); 9 //include('error.php');10 include_once(' code.php');9 include_once('Common/Error.php'); 10 include_once('Common/Code.php'); 11 11 include_once('module.php'); 12 12 include_once('forms.php'); … … 19 19 include_once('finance/finance.php'); 20 20 include_once('Modules/Module.php'); 21 include_once('Model.php'); 21 22 include_once('Modules/User/user.php'); 22 23 include_once('Modules/Project/Project.php'); … … 221 222 $System->AddModule(new Bill()); 222 223 $System->AddModule(new Finance()); 223 $System->Modules['Finance']->LoadMonthParameters(0); 224 $System->Modules['Finance']->LoadMonthParameters(0); 225 226 $System->ModularSystem = new ModularSystem($Database); 227 $System->ModularSystem->ReloadList(); 224 228 } 225 229 … … 521 525 } 522 526 527 function DebugLog($Text) 528 { 529 global $Config; 530 531 if($Config['Web']['ShowDebug']) 532 { 533 if(isset($_SERVER['REMOTE_ADDR'])) $Ending = '<br/>'."\n"; 534 else $Ending = "\n"; 535 echo($Text.$Ending); 536 } 537 } 538 523 539 GlobalInit(); 524 540
Note:
See TracChangeset
for help on using the changeset viewer.