Add missing templateNameApplication in frontend
authorMatthias Schmidt <gravatronics@live.com>
Thu, 14 Aug 2014 19:08:24 +0000 (21:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 14 Aug 2014 19:08:24 +0000 (21:08 +0200)
wcfsetup/install/files/lib/system/exception/NamedUserException.class.php
wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php
wcfsetup/install/files/lib/util/HeaderUtil.class.php

index 5156654e54287853e5c2084a5b283fc7103dea61..d2d8bbe5eb268857de6278005a4948a70619bee0 100644 (file)
@@ -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');
        }
index 935fd6df00aea3602c555609389b51a85fdedd8f..8136ce257669192396893502b2b0fff4a4c20a3e 100644 (file)
@@ -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');
        }
index 7b9530fd341637e631da04d8f8c55a2ca6d67164..404fe5d75380b71f5d259030c7ac3a6284638f8d 100644 (file)
@@ -158,6 +158,7 @@ final class HeaderUtil {
                        'message' => $message,
                        'wait' => $delay,
                        'templateName' => 'redirect',
+                       'templateNameApplication' => 'wcf',
                        'status' => $status
                ));
                WCF::getTPL()->display('redirect');