From 137cf91d891c897fd3926897ceb865ca3aa01814 Mon Sep 17 00:00:00 2001 From: Gabriel Wanzek Date: Tue, 17 May 2016 15:54:50 +0200 Subject: [PATCH] Fix typo in command ($PATH_TO_DSGRAB) --- webcam.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?>