summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/autoloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index d7649781ea1..dd09c3b9cb5 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);
}
/**