From: Niklas Laxström Date: Sat, 11 Sep 2010 09:18:51 +0000 (+0000) Subject: Fix s-max-age to s-maxage X-Git-Tag: 1.31.0-rc.0~35013 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=793eb5b0daf4fc81f0ac560655562b79c4d75caf;p=lhc%2Fweb%2Fwiklou.git Fix s-max-age to s-maxage --- diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 22b33a4699..014798f81a 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -125,7 +125,7 @@ class AjaxResponse { # Let the client do the caching. Cache is not purged. header ( "Expires: " . gmdate( "D, d M Y H:i:s", time() + $this->mCacheDuration ) . " GMT" ); - header ( "Cache-Control: s-max-age={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" ); + header ( "Cache-Control: s-maxage={$this->mCacheDuration},public,max-age={$this->mCacheDuration}" ); } } else {