fix error with empty config file

remotes/origin/stable
Robin Appelman 2011-06-13 23:15:15 +07:00
parent 80194daec7
commit 1e0fe05bef
1 changed files with 1 additions and 1 deletions

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