diff --git a/lib/config.php b/lib/config.php
index 19d58c9044340c123dc8bc7c4f6f0d7f0cd598f7..7ccbc05050826297a8d5c363078edfe94d5430f0 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);