Changeset 228 for trunk/webcam/webcam_refresh.php
- Timestamp:
- Jun 1, 2009, 11:23:59 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 3 3 statistic 4 4 webis 5 galerie
-
- Property svn:ignore
-
trunk/webcam/webcam_refresh.php
r207 r228 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 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)); 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.