From 895e6337325f4a107aeb834268bbcc0205ecb308 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Fri, 4 Sep 2015 22:27:09 +0100 Subject: [PATCH] Resolve autoloader valid roots before checking Allows symlinked app directories to work properly --- lib/autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/autoloader.php b/lib/autoloader.php index d7649781ea..dd09c3b9cb 100644 --- a/lib/autoloader.php +++ b/lib/autoloader.php @@ -58,7 +58,7 @@ class Autoloader { * @param string $root */ public function addValidRoot($root) { - $this->validRoots[] = $root; + $this->validRoots[] = stream_resolve_include_path($root); } /**