Resolve autoloader valid roots before checking
Allows symlinked app directories to work properly
This commit is contained in:
parent
b3acf09c60
commit
895e633732
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue