Skip to content
Snippets Groups Projects
Commit 1e0fe05b authored by Robin Appelman's avatar Robin Appelman
Browse files

fix error with empty config file

parent 80194dae
Branches
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ class OC_CONFIG{ ...@@ -139,7 +139,7 @@ class OC_CONFIG{
// Include the file, save the data from $CONFIG // Include the file, save the data from $CONFIG
include( "$SERVERROOT/config/config.php" ); include( "$SERVERROOT/config/config.php" );
if( isset( $CONFIG ) || is_array( $CONFIG )){ if( isset( $CONFIG ) && is_array( $CONFIG )){
self::$cache = $CONFIG; self::$cache = $CONFIG;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment