mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
fix error with empty config file
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue