Commit e181ecb0 authored by Mike Sheldon's avatar Mike Sheldon

Remove language cookie for logged out users

parent 26205c90
......@@ -55,4 +55,5 @@ $seconds_to_cache = 3600;
$ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
header("Expires: $ts");
header("Cache-Control: max-age=$seconds_to_cache");
setcookie('lang', '', time() - 3600);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment