diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-04 22:27:09 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-05 00:04:59 +0100 |
commit | 895e6337325f4a107aeb834268bbcc0205ecb308 (patch) | |
tree | 76d912affbe92abe7f6bf4959de94364f7e66cef /lib/autoloader.php | |
parent | b3acf09c60f6d4c9ea4583a65e9a14d597ee91e4 (diff) | |
download | nextcloud-server-895e6337325f4a107aeb834268bbcc0205ecb308.tar.gz nextcloud-server-895e6337325f4a107aeb834268bbcc0205ecb308.zip |
Resolve autoloader valid roots before checking
Allows symlinked app directories to work properly
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r-- | lib/autoloader.php | 2 |
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); } /** |