diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-15 22:28:57 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-15 22:28:57 +0100 |
commit | d826e04757f98ef81bb5a435da4ab62bfe9e0d39 (patch) | |
tree | 5f444988337401d22e9861611e3ee8a35227c287 /lib | |
parent | 28babd319b0322a06d5019f373c7ce6d9edf61dd (diff) | |
download | nextcloud-server-d826e04757f98ef81bb5a435da4ab62bfe9e0d39.tar.gz nextcloud-server-d826e04757f98ef81bb5a435da4ab62bfe9e0d39.zip |
Add autoloader before enabling apps
Else apps that require already autoloading in the installer
(files_antivius) die hard!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/app.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index a89a4650c5d..43dd3f54d84 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -364,6 +364,8 @@ class OC_App { // check for required dependencies $info = self::getAppInfo($appId); self::checkAppDependencies($config, $l, $info); + $appPath = self::getAppPath($appId); + self::registerAutoloading($appId, $appPath); $installer->installApp($appId); } |