Ignore:
Timestamp:
Jun 1, 2009, 11:23:59 AM (15 years ago)
Author:
george
Message:
  • Ignorovat složku galerie.
  • Upraveno: Limit čekání načtení obrázku z kamery nastavovat dle periody vyčítání.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        33statistic
        44webis
         5galerie
  • trunk/webcam/webcam_refresh.php

    r207 r228  
    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 4');
     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 '.($Config['Web']['WebcamRefresh'] - 1));
    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.