Fix core server lib import path
This commit is contained in:
parent
b4761ebb4f
commit
2447aea115
@ -109,7 +109,7 @@ class OCCApplication {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
try {
|
try {
|
||||||
require_once __DIR__ . '/../../../../core/register_command.php';
|
require_once \OC::$SERVERROOT . '/core/register_command.php';
|
||||||
if ($this->config->getSystemValue('installed', false)) {
|
if ($this->config->getSystemValue('installed', false)) {
|
||||||
if (\OCP\Util::needUpgrade()) {
|
if (\OCP\Util::needUpgrade()) {
|
||||||
throw new NeedsUpdateException();
|
throw new NeedsUpdateException();
|
||||||
|
Loading…
Reference in New Issue
Block a user