summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorUrban Müller2015-11-16 14:00:23 +0100
committerUrban Müller2015-11-16 14:00:23 +0100
commit3b4aeabd9186666e025d3233f06f7458356bfc37 (patch)
treeb67941b93eda2490800efafd1f5410bdd754bf16 /itjs.class
parent4179279e4bb7e654ba44924821a2fdd62e1e1846 (diff)
downloaditools-3b4aeabd9186666e025d3233f06f7458356bfc37.tar.gz
itools-3b4aeabd9186666e025d3233f06f7458356bfc37.tar.bz2
itools-3b4aeabd9186666e025d3233f06f7458356bfc37.zip
make c= optional for far future expire
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 92a1c58..c54abd3 100644
--- a/itjs.class
+++ b/itjs.class
@@ -218,7 +218,7 @@ function crcurl($url, $p = array())
}
# $p['nocrc'] means no $_REQUEST['c'] is needed for far future expire
-static function far_future_headers($p = [])
+static function far_future_headers($p = array())
{
$crc = $_REQUEST['c'] ?: $_REQUEST['s'];
if ($crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry'])