Changeset 207 for trunk/webcam/webcam_refresh.php
- Timestamp:
- May 4, 2009, 10:09:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/webcam/webcam_refresh.php
r41 r207 7 7 if((time() - $Config['Web']['WebcamRefresh']) >= $ModifyTime) 8 8 { 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'); 10 10 if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false)) 11 11 shell_exec('mv -f webcam_cache.jpg webcam.jpg');
Note:
See TracChangeset
for help on using the changeset viewer.