From: Roland Haeder Date: Thu, 15 May 2014 20:54:38 +0000 (+0200) Subject: Mode must be 'a+b' (append, binary-safe). X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=1e20c088c43427e7e07804b435c425899b3f379c Mode must be 'a+b' (append, binary-safe). Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php b/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php index 824df452..e548fe20 100644 --- a/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php +++ b/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php @@ -57,7 +57,7 @@ class FrameworkFileInputOutputPointer extends BaseFileIo { } // Try to open a handler - $filePointer = fopen($fileName, 'r+b'); + $filePointer = fopen($fileName, 'a+b'); if ((is_null($filePointer)) || ($filePointer === FALSE)) { // Something bad happend throw new FileIoException($fileName, self::EXCEPTION_FILE_POINTER_INVALID);