check if RUNTIME_NOAPPS is set before using it

This commit is contained in:
Arthur Schiwon 2012-10-28 15:10:15 +01:00
parent f2f2b8ba3b
commit be215a097a
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
} }