fix 304 Not Modified, don't send content

This commit is contained in:
mohrt
2002-06-05 13:17:18 +00:00
parent 6a132b412a
commit e80077841c
4 changed files with 7 additions and 5 deletions

6
NEWS
View File

@@ -1,5 +1,7 @@
- fixed cycle function to respect delimiter setting
after initial setting (Monte)
- fixed bug with 304 Not Modified response sending
content (Monte)
- fixed cycle function to respect delimiter after
initial setting (Monte)
- update $GLOBALS references to work properly with
track_globals settings (Michal Prinke, Monte)
- fixed bug in math function with call to assign

View File

@@ -607,9 +607,9 @@ class Smarty
header("HTTP/1.1 304 Not Modified");
} else {
header("Last-Modified: ".$gmt_mtime);
echo $_smarty_results;
}
}
echo $_smarty_results;
error_reporting($_smarty_old_error_level);
return true;
} else {

View File

@@ -3729,7 +3729,7 @@ OUTPUT:
variables used in the equation are passed as parameters, which can
be template variables or static values. +, -, /, *, abs, ceil, cos,
exp, floor, log, log10, max, min, pi, pow, rand, round, sin, sqrt,
srans and tan are all valid operators. Check the PHP documenation
srans and tan are all valid operators. Check the PHP documentation
for further information on these math functions.
</para>
<para>

View File

@@ -607,9 +607,9 @@ class Smarty
header("HTTP/1.1 304 Not Modified");
} else {
header("Last-Modified: ".$gmt_mtime);
echo $_smarty_results;
}
}
echo $_smarty_results;
error_reporting($_smarty_old_error_level);
return true;
} else {