From 208ad6b540240b3a08de77318dc95251aadc91e4 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Thu, 3 May 2012 16:17:39 +0000 Subject: [PATCH] --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_templatebase.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index 060c7cfc..0f44a294 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== +03.05.2012 +- bugfix make HTTP protocall version variable (issue 96) + 02.05.2012 - bugfix {nocache}{block}{plugin}... did produce wrong compiled code when caching is disabled (Forum Topic 21572, issue 95) diff --git a/libs/sysplugins/smarty_internal_templatebase.php b/libs/sysplugins/smarty_internal_templatebase.php index d60ecd16..abd48b79 100644 --- a/libs/sysplugins/smarty_internal_templatebase.php +++ b/libs/sysplugins/smarty_internal_templatebase.php @@ -319,7 +319,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data { break; default: - header('HTTP/1.1 304 Not Modified'); + header($_SERVER['SERVER_PROTOCOL'].' 304 Not Modified'); break; } } else {