summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-12-07 15:25:58 +0100
committerUrban Müller2015-12-07 15:25:58 +0100
commit17131f9ef8dfb33271a031978d66a2cde1d6f18e (patch)
tree9af20cadc32d723ddda3fa81cc6bca422cafb504
parent382b4c87a721464a2521ca66414d2eccce6d4636 (diff)
downloaditools-17131f9ef8dfb33271a031978d66a2cde1d6f18e.tar.gz
itools-17131f9ef8dfb33271a031978d66a2cde1d6f18e.tar.bz2
itools-17131f9ef8dfb33271a031978d66a2cde1d6f18e.zip
separate directory to avoid permission and expiration problems
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 903f9bc..18c7a18 100644
--- a/itjs.class
+++ b/itjs.class
@@ -204,7 +204,7 @@ static function checksum($fnlist, $p = array())
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);
+ list($fn, $short_expire) = array(it_url::get_cache(array('url' => $url, 'maxage' => 3600, 'id' => "itjs_crcurl") + $p), false);
else
list($fn, $short_expire) = array(($m = it::match("^//(\w+)(/.*)", $url)) ? "/www/$m[0].search.ch" . $m[1] : $GLOBALS['ULTRAHOME'] . $url, true);;