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>
This commit is contained in:
Roeland Jago Douma 2016-11-15 22:28:57 +01:00
parent 28babd319b
commit d826e04757
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}