summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
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'])