diff options
author | Christian Schneider | 2019-11-20 16:30:30 +0100 |
---|---|---|
committer | Christian Schneider | 2019-11-20 16:30:30 +0100 |
commit | f433e2a680327252d7c6b26884ccd12bbaf45d28 (patch) | |
tree | 5cf96e93ce92ba42a05970705d0d76c28a779721 /itjs.class | |
parent | 3c3c89f78026cd501b6744ccfe6488587105f819 (diff) | |
download | itools-f433e2a680327252d7c6b26884ccd12bbaf45d28.tar.gz itools-f433e2a680327252d7c6b26884ccd12bbaf45d28.tar.bz2 itools-f433e2a680327252d7c6b26884ccd12bbaf45d28.zip |
Fix path to file for crcurl
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ static 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); else - list($fn, $short_expire) = array(($m = it::match("^//(\w+)(/.*)", $url)) ? "/www/$m[0].search.ch" . $m[1] : $GLOBALS['ULTRAHOME'] . $url, true);; + list($fn, $short_expire) = array(($m = it::match("^//(\w+)(/.*)", $url)) ? "/www/$m[0].search.ch" . $m[1] : $GLOBALS['ULTRAHOME'] . "/doc$url", true);; return it::match('#', $url) ? U(trim($url, "#")) : U($url, array('c' => self::checksum(array($fn), array('short_expire' => $short_expire)))); } |