diff options
author | Urban Müller | 2016-03-29 14:13:24 +0200 |
---|---|---|
committer | Urban Müller | 2016-03-29 14:13:24 +0200 |
commit | b60d311bafc1ef55304264cc2c1c6310d3bce29e (patch) | |
tree | 7776afb1607681b23df4e82f56d495b0189ef17c /itjs.class | |
parent | 3c07208e5dfc961237bd7d5404dfcbc07fb3d4d1 (diff) | |
download | itools-b60d311bafc1ef55304264cc2c1c6310d3bce29e.tar.gz itools-b60d311bafc1ef55304264cc2c1c6310d3bce29e.tar.bz2 itools-b60d311bafc1ef55304264cc2c1c6310d3bce29e.zip |
send warnings if fetch fails; would create noninformative warnings later on anyway
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,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, 'id' => "itjs_crcurl") + $p), false); + list($fn, $short_expire) = array(it_url::get_cache(array('url' => $url, 'maxage' => 3600, 'safety' => 1, '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);; |