summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-11-09 14:34:17 +0100
committerUrban Müller2015-11-09 14:34:17 +0100
commit8007fdcdd2ac074b6e0fc5076e160d83dde8d6a3 (patch)
tree9a87023cda5887003f87e322ad441e264c8ff66a
parent61d20830c3b154e343408c3206a8d01d4756789b (diff)
downloaditools-8007fdcdd2ac074b6e0fc5076e160d83dde8d6a3.tar.gz
itools-8007fdcdd2ac074b6e0fc5076e160d83dde8d6a3.tar.bz2
itools-8007fdcdd2ac074b6e0fc5076e160d83dde8d6a3.zip
php4
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 32c504b..e69696a 100644
--- a/itjs.class
+++ b/itjs.class
@@ -207,7 +207,7 @@ static function checksum($fnlist, $p = array())
return it_cache::get($key) ?: it_cache::put($key, substr(md5(self::filecontents($filenames, false)), 0, 10), array('ttl' => 60));
}
-function crcurl($url, $p = [])
+function crcurl($url, $p = array())
{
if (it::match('^http', $url)) # remote url, must fetch to crc
list($fn, $short_expire) = array(it_url::get_cache(array('url' => $url, 'maxage' => 3600) + $p), false);