diff options
-rw-r--r-- | lib/config.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/config.php b/lib/config.php index fcd0a9d7c3c..f1c139f22b1 100644 --- a/lib/config.php +++ b/lib/config.php @@ -132,6 +132,9 @@ class OC_Config{ // read all file in config dir ending by config.php $config_files = glob( OC::$SERVERROOT."/config/*.config.php"); + if (!is_array($config_files)) { + $config_files = array(); + } //Filter only regular files $config_files = array_filter($config_files, 'is_file'); |