diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-09-18 09:04:53 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-09-18 09:04:53 +0200 |
commit | 338db48c0b284aa5bc3a5ec36f352ce3fa8ea16e (patch) | |
tree | e69e09b3ffcf70a84461646cfe719f0a10741a03 | |
parent | dd6b0b1319e083d8d316fa571f5ba631441dcb84 (diff) | |
parent | 14571d41038970cf214daf986efdc70952ff2350 (diff) | |
download | nextcloud-server-338db48c0b284aa5bc3a5ec36f352ce3fa8ea16e.tar.gz nextcloud-server-338db48c0b284aa5bc3a5ec36f352ce3fa8ea16e.zip |
Merge pull request #9541 from owncloud/force_loading_of_encryption_app
force loading of encryption app to show correct error
-rw-r--r-- | apps/files_encryption/files/error.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_encryption/files/error.php b/apps/files_encryption/files/error.php index c33a5a531f5..b801c17bd40 100644 --- a/apps/files_encryption/files/error.php +++ b/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'])) { |