Fixed template id
authorMarcel Werk <burntime@woltlab.com>
Tue, 27 Nov 2012 20:53:07 +0000 (21:53 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 27 Nov 2012 20:53:07 +0000 (21:53 +0100)
wcfsetup/install/files/lib/system/request/RequestHandler.class.php

index 0a50d541823b9510419ce23ed246a1309f2e5735..dfbf51eef5babf13e61048582235f737ea932882 100644 (file)
@@ -47,6 +47,9 @@ class RequestHandler extends SingletonFactory {
                // handle offline mode
                if (!$isACPRequest && defined('OFFLINE') && OFFLINE) {
                        if (!WCF::getSession()->getPermission('admin.general.canViewPageDuringOfflineMode') && !$this->activeRequest->isAvailableDuringOfflineMode()) {
+                               WCF::getTPL()->assign(array(
+                                       'templateName' => 'offline'
+                               ));
                                WCF::getTPL()->display('offline');
                                exit;
                        }