Skip to content

Commit

Permalink
Keeping backwards compatibility in check for config files
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 19, 2016
1 parent ceca09f commit bb54a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Configure/FileConfigTrait.php
Expand Up @@ -56,7 +56,7 @@ protected function _getFilePath($key, $checkExists = false)

$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));
}

Expand Down

0 comments on commit bb54a0c

Please sign in to comment.