Changeset 476
- Timestamp:
- Jan 1, 2013, 12:48:27 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Error.php
r469 r476 57 57 foreach($Item['args'] as $Item) 58 58 { 59 if(is_array($Item) || is_object($Item)) $Arguments .= "'".serialize($Item)."',"; 59 if(is_object($Item)) ; 60 else if(is_array($Item)) $Arguments .= "'".serialize($Item)."',"; 60 61 else $Arguments .= "'".$Item."',"; 61 62 } -
trunk/Common/Global.php
r475 r476 22 22 include_once(dirname(__FILE__).'/File.php'); 23 23 include_once(dirname(__FILE__).'/../aktuality/news.php'); 24 include_once(dirname(__FILE__).'/../webcam/webcam.php');25 24 include_once(dirname(__FILE__).'/../finance/bills.php'); 26 25 include_once(dirname(__FILE__).'/../finance/finance.php'); … … 35 34 include_once(dirname(__FILE__).'/../Modules/Map/Map.php'); 36 35 include_once(dirname(__FILE__).'/../Modules/Chat/Chat.php'); 36 include_once(dirname(__FILE__).'/../Modules/WebCam/WebCam.php'); 37 37 38 38 $PrefixMultipliers = array … … 289 289 if(isset($_SERVER['REMOTE_ADDR'])) $System->Modules['User']->Check(); 290 290 $System->AddModule(new News()); 291 $System->AddModule(new Webcam());292 291 $System->AddModule(new Bill()); 293 292 $System->AddModule(new Finance()); … … 303 302 $System->ModuleManager->RegisterModule(new ModuleMap($System)); 304 303 $System->ModuleManager->RegisterModule(new ModuleChat($System)); 304 $System->ModuleManager->RegisterModule(new ModuleWebCam($System)); 305 305 $System->ModuleManager->StartAll(); 306 306 } -
trunk/Modules/Portal/Portal.php
r469 r476 94 94 function WebcamPanel() 95 95 { 96 $Output = $this->System->Module s['Webcam']->ShowImage();96 $Output = $this->System->ModuleManager->Modules['WebCam']->ShowImage(); 97 97 return($Output); 98 98 } -
trunk/Modules/WebCam/webcam_refresh.php
r438 r476 1 1 <?php 2 include _once('../Common/Global.php');2 include('../global.php'); 3 3 4 4 $Config['Web']['ShowPHPError'] = true;
Note:
See TracChangeset
for help on using the changeset viewer.