From: Alexander Ebert Date: Sun, 7 Jul 2013 23:26:34 +0000 (+0200) Subject: Fixed WCFSetup X-Git-Tag: 2.0.0_Beta_5~95 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a586d51832895ede7cfcd028a21aa4be7489e36;p=GitHub%2FWoltLab%2FWCF.git Fixed WCFSetup --- diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index f61365be4d..94eecb09dc 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -82,7 +82,7 @@ final class HeaderUtil { // 3rd party plugins may differ the actual output before it is sent to the browser // please be aware, that $eventObj is not available here due to this being a static // class. Use HeaderUtil::$output to modify it. - EventHandler::getInstance()->fireAction('wcf\util\HeaderUtil', 'parseOutput'); + if (!defined('NO_IMPORTS')) EventHandler::getInstance()->fireAction('wcf\util\HeaderUtil', 'parseOutput'); // enable gzip compression if (HTTP_ENABLE_GZIP && HTTP_GZIP_LEVEL > 0 && HTTP_GZIP_LEVEL < 10 && !defined('HTTP_DISABLE_GZIP')) {