From: Matthias Schmidt Date: Wed, 28 Sep 2016 19:24:59 +0000 (+0200) Subject: Fix exception in `HeaderUtil` during setup X-Git-Tag: 3.0.0_Beta_2~76^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc4a665948c1e79c2b9370babf4fe8de58bf5259;p=GitHub%2FWoltLab%2FWCF.git Fix exception in `HeaderUtil` during setup --- diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index e7671f0d23..4985bd5acb 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -55,7 +55,7 @@ final class HeaderUtil { @header('Content-Type: text/html; charset=UTF-8'); // send no cache headers - if (!WCF::getSession()->spiderID) { + if (PACKAGE_ID && !WCF::getSession()->spiderID) { self::sendNoCacheHeaders(); }