mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(installer): throw an exception only if app store is also enabled
Signed-off-by: Kent Delante <kent@delante.me>
This commit is contained in:
parent
ebcc786841
commit
69f5383abe
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ class Installer {
|
|||
foreach (\OC::$APPSROOTS as $dir) {
|
||||
if (isset($dir['writable']) && $dir['writable'] === true) {
|
||||
// Check if there is a writable install folder.
|
||||
if (!is_writable($dir['path'])
|
||||
if ((!is_writable($dir['path']) && $this->config->getSystemValueBool('appstoreenabled', true))
|
||||
|| !is_readable($dir['path'])
|
||||
) {
|
||||
throw new \RuntimeException(
|
||||
|
|
|
|||
Loading…
Reference in a new issue