omg .. wrong assertion ..

This commit is contained in:
Philipp Holzer 2023-01-07 15:49:55 +01:00
parent 6e4e2c4a82
commit 6bd1740a94
Signed by: nupplaPhil
GPG Key ID: 24A7501396EB5432
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class ConfigFileManager
* (as is the case with 'x'). The file pointer is positioned on the beginning of the file.
*
*/
if (($configStream = @fopen($filename, 'c+')) !== false) {
if (($configStream = @fopen($filename, 'c+')) === false) {
throw new ConfigFileException(sprintf('Cannot open file "%s" in mode c+', $filename));
}