Fixed WCFSetup
authorAlexander Ebert <ebert@woltlab.com>
Wed, 28 Sep 2016 16:50:16 +0000 (18:50 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 28 Sep 2016 16:50:16 +0000 (18:50 +0200)
wcfsetup/install/files/lib/util/HeaderUtil.class.php

index e7671f0d238ef71164775aa46fea3711bc73f980..9ab8b9aa8405f477d085d7b592f12bda5cdeee9f 100644 (file)
@@ -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();
                }