From ae2b3732de4eeced50a71f9074d0b5dadf625edd Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 27 Jun 2013 22:23:53 +0200 Subject: [PATCH] Use file_exists to fix the unittests --- lib/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.php b/lib/config.php index 19d58c9044..7ccbc05050 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);