diff --git a/webcam.php b/webcam.php index 4c64d3b..4742bad 100644 --- a/webcam.php +++ b/webcam.php @@ -43,7 +43,7 @@ $PATH_TO_WINSCP = "C:\Program Files\winscp3\winscp3.com"; # Do the Capture $command = <<< EOT -start /b {$PATH_TODSGRAB} -s -d "{$CAPTUREDEVICE}" -r {$IMAGEWIDTH}x{$IMAGEHEIGHT} -w 3000 {$PATH_TO_OUTPUT}.png +start /b {$PATH_TO_DSGRAB} -s -d "{$CAPTUREDEVICE}" -r {$IMAGEWIDTH}x{$IMAGEHEIGHT} -w 3000 {$PATH_TO_OUTPUT}.png EOT; $output = array(); $returnValue = 0; @@ -88,4 +88,4 @@ exec( "start /b {$PATH_TO_WINSCP} /script={$tmpfile} > nul" ); unlink( $tmpfile ); -?> \ No newline at end of file +?>