Changeset 345 for trunk


Ignore:
Timestamp:
Jan 17, 2012, 1:49:47 PM (13 years ago)
Author:
chronos
Message:
  • Upraveno: Zobrazování webkamer přesunuto do samostatného systémového modulu.
Location:
trunk
Files:
7 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/global.php

    r344 r345  
    1515include_once('Modules/log.php');
    1616include_once('aktuality/news.php');
    17 include_once('webcam/webcam.php');
    1817include_once('finance/bills.php');
    1918include_once('finance/finance.php');
     
    207206  $System = new System($Database);
    208207  $System->Config = &$Config;
     208  //$System->ReloadList();
    209209  //$System->Install();
    210   //$System->ReloadList();
    211210  $System->Init();
    212211  if(isset($_SERVER['REMOTE_ADDR'])) $System->Models['User']->Check();
    213212  $System->AddModule(new Log());
    214213  $System->AddModule(new News());
    215   $System->AddModule(new Webcam());
    216214  $System->AddModule(new Bill());
    217215  $System->AddModule(new Finance());
  • trunk/index.php

    r344 r345  
    9797  function WebcamPanel()
    9898  {
    99     $Output = $this->System->Modules['Webcam']->ShowImage();
     99    $Output = $this->System->Modules['WebCam']->ShowImage();
    100100    return($Output);
    101101  }
     
    306306
    307307  $Page = $_GET['page'];
     308  if(substr($Page, -1) == '/') $Page = substr($Page, 0, -1);
    308309  if(array_key_exists($Page, $System->Pages))
    309310  {
Note: See TracChangeset for help on using the changeset viewer.