omg .. wrong assertion ..

This commit is contained in:
Philipp 2023-01-07 15:49:55 +01:00
parent 6e4e2c4a82
commit 6bd1740a94
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

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));
}