diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-28 10:33:55 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-28 10:33:55 +0100 |
commit | 5fa8f7cf128d819a195c540851faf265a481df64 (patch) | |
tree | b5eec89d7f7508025c0abbf585d1c982f1defd2d /console.php | |
parent | e3b951f4122f0a5d8531faaf4082bfb356366847 (diff) | |
parent | 8b86b94d47d7fa78669bdc4f17e4b1fa39079787 (diff) | |
download | nextcloud-server-5fa8f7cf128d819a195c540851faf265a481df64.tar.gz nextcloud-server-5fa8f7cf128d819a195c540851faf265a481df64.zip |
Merge pull request #7107 from owncloud/load-apps-proper-master
Load apps proper master
Diffstat (limited to 'console.php')
-rw-r--r-- | console.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/console.php b/console.php index 25b8b312539..dd2c1026e47 100644 --- a/console.php +++ b/console.php @@ -8,7 +8,6 @@ use Symfony\Component\Console\Application; -$RUNTIME_NOAPPS = true; require_once 'lib/base.php'; // Don't do anything if ownCloud has not been installed yet @@ -22,6 +21,9 @@ if (!OC::$CLI) { exit(0); } +// load all apps to get all api routes properly setup +OC_App::loadApps(); + $defaults = new OC_Defaults; $application = new Application($defaults->getName(), \OC_Util::getVersionString()); require_once 'core/register_command.php'; |