diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 15:17:43 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 15:17:43 +0200 |
commit | b0414f6a301e9a8782509b17a7fc5b7bce12af2d (patch) | |
tree | 047f9cbbe2d6ddd1949967fa1377f7f45bbc5ab4 | |
parent | b049a0538465489b4e8159a5c2486a9f703d1b1e (diff) | |
parent | dad56921aeca0da7750039362777764998d86aee (diff) | |
download | nextcloud-server-b0414f6a301e9a8782509b17a7fc5b7bce12af2d.tar.gz nextcloud-server-b0414f6a301e9a8782509b17a7fc5b7bce12af2d.zip |
Merge pull request #19022 from owncloud/console-loader-validroot
Register valid root for all installed apps in console
-rw-r--r-- | lib/private/console/application.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/console/application.php b/lib/private/console/application.php index 7c709927219..edfb45c8577 100644 --- a/lib/private/console/application.php +++ b/lib/private/console/application.php @@ -55,7 +55,9 @@ class Application { if (!\OCP\Util::needUpgrade()) { OC_App::loadApps(); foreach (\OC::$server->getAppManager()->getInstalledApps() as $app) { - $file = OC_App::getAppPath($app) . '/appinfo/register_command.php'; + $appPath = \OC_App::getAppPath($app); + \OC::$loader->addValidRoot($appPath); + $file = $appPath . '/appinfo/register_command.php'; if (file_exists($file)) { require $file; } |