Merge pull request #9541 from owncloud/force_loading_of_encryption_app

force loading of encryption app to show correct error
remotes/origin/fix-10825
Morris Jobke 11 years ago
commit 338db48c0b
  1. 3
      apps/files_encryption/files/error.php

@ -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'])) {

Loading…
Cancel
Save