Resolve autoloader valid roots before checking

Allows symlinked app directories to work properly
This commit is contained in:
Robin McCorkell 2015-09-04 22:27:09 +01:00
parent b3acf09c60
commit 895e633732
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class Autoloader {
* @param string $root * @param string $root
*/ */
public function addValidRoot($root) { public function addValidRoot($root) {
$this->validRoots[] = $root; $this->validRoots[] = stream_resolve_include_path($root);
} }
/** /**