From f51b1acf77914543d825ecee551e5f0f2cccef48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Helfensd=C3=B6rfer?= Date: Thu, 21 Jan 2021 16:01:05 +0100 Subject: [PATCH] Open update.log in example binary safe --- example/client/update/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);