]> source.dussan.org Git - nextcloud-server.git/commitdiff
force loading of encryption app
authorLukas Reschke <lukas@owncloud.com>
Wed, 17 Sep 2014 15:12:06 +0000 (17:12 +0200)
committerLukas Reschke <lukas@owncloud.com>
Wed, 17 Sep 2014 15:13:25 +0000 (17:13 +0200)
apps/files_encryption/files/error.php

index c33a5a531f5368f00dbe4102bf920670786e2feb..b801c17bd402ab9f7a1aa89a93b5879caf5b1f85 100644 (file)
@@ -4,6 +4,9 @@ if (!isset($_)) { //also provide standalone error page
        require_once __DIR__ . '/../../../lib/base.php';
        require_once __DIR__ . '/../lib/crypt.php';
 
+       OC_JSON::checkAppEnabled('files_encryption');
+       OC_App::loadApp('files_encryption');
+
        $l = \OC::$server->getL10N('files_encryption');
 
        if (isset($_GET['errorCode'])) {