Merge pull request #9541 from owncloud/force_loading_of_encryption_app

force loading of encryption app to show correct error
This commit is contained in:
Morris Jobke 2014-09-18 09:04:53 +02:00
commit 338db48c0b

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