1
0
forked from adphi/occweb

Fix core server lib import path

This commit is contained in:
Adphi 2019-07-20 14:02:52 +02:00
parent b4761ebb4f
commit 2447aea115

View File

@ -109,7 +109,7 @@ class OCCApplication {
// }
try {
require_once __DIR__ . '/../../../../core/register_command.php';
require_once \OC::$SERVERROOT . '/core/register_command.php';
if ($this->config->getSystemValue('installed', false)) {
if (\OCP\Util::needUpgrade()) {
throw new NeedsUpdateException();