diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-25 17:46:05 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-25 17:46:05 +0100 |
commit | 8b86b94d47d7fa78669bdc4f17e4b1fa39079787 (patch) | |
tree | 37f8cb7c45540f4eb38efdc2aeafdec8b67af191 /console.php | |
parent | f9279ac77ac8f4541bd0237fd5126f10cb7798a1 (diff) | |
download | nextcloud-server-8b86b94d47d7fa78669bdc4f17e4b1fa39079787.tar.gz nextcloud-server-8b86b94d47d7fa78669bdc4f17e4b1fa39079787.zip |
call OC_App::loadApps(); to load all commands of all apps and related functionality
Diffstat (limited to 'console.php')
-rw-r--r-- | console.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/console.php b/console.php index fc6957062be..dd2c1026e47 100644 --- a/console.php +++ b/console.php @@ -21,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'; |