]> source.dussan.org Git - nextcloud-server.git/commitdiff
check if RUNTIME_NOAPPS is set before using it
authorArthur Schiwon <blizzz@owncloud.com>
Sun, 28 Oct 2012 14:10:15 +0000 (15:10 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Sun, 28 Oct 2012 14:11:45 +0000 (15:11 +0100)
lib/util.php

index 4dc2530225f82994785238dbc5d6e3da713ad005..7b15919b64b3f51fcd93f432e9d4dc8e06c328d7 100755 (executable)
@@ -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'));
                }