From be215a097ae5c4838c7d8928cfab0345d884ed56 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Sun, 28 Oct 2012 15:10:15 +0100 Subject: [PATCH] check if RUNTIME_NOAPPS is set before using it --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index f67f8d1fe3f..69f29f12228 100755 --- a/lib/util.php +++ b/lib/util.php @@ -25,7 +25,7 @@ class OC_Util { } // 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')); }