We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a15a378 + 82319d4 commit da8ef3cCopy full SHA for da8ef3c
1 file changed
lib/private/Config.php
@@ -217,7 +217,8 @@ private function readData() {
217
@opcache_invalidate($file, false);
218
}
219
220
- $filePointer = @fopen($file, 'r');
+ // suppressor doesn't work here at boot time since it'll go via our onError custom error handler
221
+ $filePointer = file_exists($file) ? @fopen($file, 'r') : false;
222
if ($filePointer === false) {
223
// e.g. wrong permissions are set
224
if ($file === $this->configFilePath) {
0 commit comments