1
1
Fork 0

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

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