Skip to content
Permalink
Browse files

Expand path before is_file check

To allow symlinks to config files
  • Loading branch information...
tersmitten committed Feb 5, 2016
1 parent 9711ea6 commit 8db9bcaddbf18c56213d10afcb06593405ddaf6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Core/Configure/FileConfigTrait.php
@@ -56,7 +56,7 @@ protected function _getFilePath($key, $checkExists = false)
$file .= $this->_extension;
if ($checkExists && !is_file($file)) {
if ($checkExists && !is_file(realpath($file))) {
throw new Exception(sprintf('Could not load configuration file: %s', $file));
}

0 comments on commit 8db9bca

Please sign in to comment.
You can’t perform that action at this time.