summaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
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';