Ignore:
Timestamp:
Aug 29, 2009, 9:28:25 AM (15 years ago)
Author:
george
Message:
  • Oprveno: Nastavení konfigurace DNS serverů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webcam/webcam_refresh.php

    r228 r245  
    22include('../global.php');
    33
     4$Config['Web']['ShowPHPError'] = true;
    45while(1)
    56{
     
    89  {
    910    $Output = shell_exec('wget "http://kamera-stred/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg -T '.($Config['Web']['WebcamRefresh'] - 1));
    10   if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false))
    11     shell_exec('mv -f webcam_cache.jpg webcam.jpg');
     11    if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false))
     12      shell_exec('mv -f webcam_cache.jpg webcam.jpg');
    1213  }
    1314  //echo('.');
Note: See TracChangeset for help on using the changeset viewer.