Resolve autoloader valid roots before checking

Allows symlinked app directories to work properly
remotes/origin/db-empty-migrate
Robin McCorkell 9 years ago
parent b3acf09c60
commit 895e633732

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

Loading…
Cancel
Save