Browse Source

Keeping backwards compatibility in check for config files

Jose Lorenzo Rodriguez 10 years ago
parent
commit
bb54a0c2a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/Configure/FileConfigTrait.php

+ 1 - 1
src/Core/Configure/FileConfigTrait.php

@@ -56,7 +56,7 @@ trait FileConfigTrait
 
         $file .= $this->_extension;
 
-        if ($checkExists && !is_file($file)) {
+        if ($checkExists && !is_file($file) && !is_file(realpath($file))) {
             throw new Exception(sprintf('Could not load configuration file: %s', $file));
         }