diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-27 22:23:53 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-27 22:23:53 +0200 |
commit | ae2b3732de4eeced50a71f9074d0b5dadf625edd (patch) | |
tree | 2aa75c57b57de4a8e9fa3299454e84561ac84c6e /lib/config.php | |
parent | 64f16f1db1f05e032080c885ebf91f38f659e62f (diff) | |
download | nextcloud-server-ae2b3732de4eeced50a71f9074d0b5dadf625edd.tar.gz nextcloud-server-ae2b3732de4eeced50a71f9074d0b5dadf625edd.zip |
Use file_exists to fix the unittests
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config.php b/lib/config.php index 19d58c90443..7ccbc050508 100644 --- a/lib/config.php +++ b/lib/config.php @@ -129,7 +129,7 @@ class Config { } // Include file and merge config foreach ($configFiles as $file) { - if (!is_file($file)) { + if (!file_exists($file)) { continue; } unset($CONFIG); |