commit b1305cae99bb7ab1bfd389af0a3889a0d7c4f2c0
parent 7e5ff1adef25710e24230e73fc27eeeb86ec7650
Author: Jan Dankert <devnull@localhost>
Date: Thu, 13 Dec 2018 23:02:55 +0100
Im Development-Modus keine 304 (not modified) setzen.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/cms-core/action/Action.class.php b/modules/cms-core/action/Action.class.php
@@ -328,6 +328,9 @@ namespace cms\action {
*/
protected function lastModified($time, $expirationDuration = 0)
{
+ if ( DEVELOPMENT )
+ return;
+
if ( $this->request->isEmbedded )
return; // Embedded-Views können keine HTTP-Header setzen, daher ist alles weitere überflüssig.