fix error with empty config file

remotes/origin/stable
Robin Appelman 14 years ago
parent 80194daec7
commit 1e0fe05bef
  1. 2
      lib/config.php

@ -139,7 +139,7 @@ class OC_CONFIG{
// Include the file, save the data from $CONFIG
include( "$SERVERROOT/config/config.php" );
if( isset( $CONFIG ) || is_array( $CONFIG )){
if( isset( $CONFIG ) && is_array( $CONFIG )){
self::$cache = $CONFIG;
}

Loading…
Cancel
Save