summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-25 17:46:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-25 17:46:05 +0100
commit8b86b94d47d7fa78669bdc4f17e4b1fa39079787 (patch)
tree37f8cb7c45540f4eb38efdc2aeafdec8b67af191
parentf9279ac77ac8f4541bd0237fd5126f10cb7798a1 (diff)
downloadnextcloud-server-8b86b94d47d7fa78669bdc4f17e4b1fa39079787.tar.gz
nextcloud-server-8b86b94d47d7fa78669bdc4f17e4b1fa39079787.zip
call OC_App::loadApps(); to load all commands of all apps and related functionality
-rw-r--r--console.php3
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';