Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-25 20:46:05 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-25 20:46:05 +0400
commit8b86b94d47d7fa78669bdc4f17e4b1fa39079787 (patch)
tree37f8cb7c45540f4eb38efdc2aeafdec8b67af191 /console.php
parentf9279ac77ac8f4541bd0237fd5126f10cb7798a1 (diff)
call OC_App::loadApps(); to load all commands of all apps and related functionality
Diffstat (limited to 'console.php')
-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';