omg .. wrong assertion ..
This commit is contained in:
parent
6e4e2c4a82
commit
6bd1740a94
|
@ -260,7 +260,7 @@ class ConfigFileManager
|
||||||
* (as is the case with 'x'). The file pointer is positioned on the beginning of the file.
|
* (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));
|
throw new ConfigFileException(sprintf('Cannot open file "%s" in mode c+', $filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue