check if RUNTIME_NOAPPS is set before using it
This commit is contained in:
parent
f2f2b8ba3b
commit
be215a097a
|
@ -25,7 +25,7 @@ class OC_Util {
|
||||||
}
|
}
|
||||||
|
|
||||||
// load all filesystem apps before, so no setup-hook gets lost
|
// load all filesystem apps before, so no setup-hook gets lost
|
||||||
if(!$RUNTIME_NOAPPS) {
|
if(!isset($RUNTIME_NOAPPS) || !$RUNTIME_NOAPPS) {
|
||||||
OC_App::loadApps(array('filesystem'));
|
OC_App::loadApps(array('filesystem'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue