Changeset 207 for trunk/webcam


Ignore:
Timestamp:
May 4, 2009, 10:09:30 PM (16 years ago)
Author:
george
Message:
  • Upraveno: Tarify přepočítat jen ručně a ne při každém načtení stránky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webcam/webcam_refresh.php

    r41 r207  
    77  if((time() - $Config['Web']['WebcamRefresh']) >= $ModifyTime)
    88  {
    9     $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 2');
     9    $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 4');
    1010  if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false))
    1111    shell_exec('mv -f webcam_cache.jpg webcam.jpg');
Note: See TracChangeset for help on using the changeset viewer.