From 57379ae6840c27632ac01adb534e98fe65f1a918 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 14 Aug 2014 21:08:24 +0200 Subject: [PATCH] Add missing templateNameApplication in frontend --- .../files/lib/system/exception/NamedUserException.class.php | 3 ++- .../lib/system/exception/PermissionDeniedException.class.php | 3 ++- wcfsetup/install/files/lib/util/HeaderUtil.class.php | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php index 5156654e54..d2d8bbe5eb 100644 --- a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php +++ b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php @@ -28,7 +28,8 @@ class NamedUserException extends UserException { 'line' => $this->getLine(), 'message' => $this->getMessage(), 'stacktrace' => $this->getTraceAsString(), - 'templateName' => 'userException' + 'templateName' => 'userException', + 'templateNameApplication' => 'wcf' )); WCF::getTPL()->display('userException'); } diff --git a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php index 935fd6df00..8136ce2576 100644 --- a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php +++ b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php @@ -32,7 +32,8 @@ class PermissionDeniedException extends UserException { 'file' => $this->getFile(), 'line' => $this->getLine(), 'stacktrace' => $this->getTraceAsString(), - 'templateName' => 'permissionDenied' + 'templateName' => 'permissionDenied', + 'templateNameApplication' => 'wcf' )); WCF::getTPL()->display('permissionDenied'); } diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index 7b9530fd34..404fe5d753 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -158,6 +158,7 @@ final class HeaderUtil { 'message' => $message, 'wait' => $delay, 'templateName' => 'redirect', + 'templateNameApplication' => 'wcf', 'status' => $status )); WCF::getTPL()->display('redirect'); -- 2.20.1