Skip to content

Commit

Permalink
Fix typo in command ($PATH_TO_DSGRAB)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Wanzek committed May 17, 2016
1 parent 17d062b commit 137cf91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webcam.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -88,4 +88,4 @@

exec( "start /b {$PATH_TO_WINSCP} /script={$tmpfile} > nul" );
unlink( $tmpfile );
?>
?>

0 comments on commit 137cf91

Please sign in to comment.