call OC_App::loadApps(); to load all commands of all apps and related functionality
This commit is contained in:
parent
f9279ac77a
commit
8b86b94d47
|
@ -21,6 +21,9 @@ if (!OC::$CLI) {
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// load all apps to get all api routes properly setup
|
||||||
|
OC_App::loadApps();
|
||||||
|
|
||||||
$defaults = new OC_Defaults;
|
$defaults = new OC_Defaults;
|
||||||
$application = new Application($defaults->getName(), \OC_Util::getVersionString());
|
$application = new Application($defaults->getName(), \OC_Util::getVersionString());
|
||||||
require_once 'core/register_command.php';
|
require_once 'core/register_command.php';
|
||||||
|
|
Loading…
Reference in New Issue