diff options
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php index 2660f43cad7..6af9fcbe5ad 100644 --- a/lib/config.php +++ b/lib/config.php @@ -139,7 +139,9 @@ class OC_CONFIG{ // Include the file, save the data from $CONFIG include( "$SERVERROOT/config/config.php" ); - self::$cache = $CONFIG; + if( isset( $CONFIG ) || is_array( $CONFIG )){ + self::$cache = $CONFIG; + } // We cached everything self::$init = true; |