diff --git a/example/client/update/index.php b/example/client/update/index.php index afbc779..d4bf39c 100755 --- a/example/client/update/index.php +++ b/example/client/update/index.php @@ -31,7 +31,7 @@ echo ''; // Optional - empty log file - $f = @fopen(__DIR__ . '/update.log', 'r+'); + $f = @fopen(__DIR__ . '/update.log', 'rb+'); if ($f !== false) { ftruncate($f, 0); fclose($f);