Fix core server lib import path
This commit is contained in:
parent
533accb9dd
commit
1d7ad2331b
@ -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