1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Fix ETag format

This commit is contained in:
e107steved 2010-08-25 08:11:27 +00:00
parent 151824213b
commit dcdddffb20
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ unset($tmp1, $tmp1);
$etag = md5($page);
header("Cache-Control: must-revalidate");
header("ETag: {$etag}");
header("ETag: \"{$etag}\"");
$pref['compression_level'] = 6;
if (strstr(varset($_SERVER["HTTP_ACCEPT_ENCODING"], ""), "gzip"))

View File

@ -290,7 +290,7 @@ $page = ob_get_clean();
$etag = md5($page);
header("Cache-Control: must-revalidate");
header("ETag: {$etag}");
header("ETag: \"{$etag}\"");
$pref['compression_level'] = 6;
$browser_support = FALSE;