Update Config.php

This commit is contained in:
John Molakvoæ 2020-03-28 16:16:41 +01:00 committed by GitHub
parent df463f90be
commit 1b4952bfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -246,12 +246,9 @@ class Config {
// File does not exist, this can happen when doing a fresh install
if(!is_resource ($filePointer)) {
// TODO fix this via DI once it is very clear that this doesn't cause side effects due to initialization order
// currently this breaks app routes but also could have other side effects especially during setup and exception handling
$url = \OC::$server->getURLGenerator()->linkToDocs('admin-dir_permissions');
throw new HintException(
"Can't write into config directory!",
'This can usually be fixed by giving the webserver write access to the config directory. See ' . $url);
'This can usually be fixed by giving the webserver write access to the config directory.');
}
// Try to acquire a file lock