@@ 2172-2177 (lines=6) @@ | ||
2169 | $contentType = ''; |
|
2170 | } |
|
2171 | ||
2172 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2173 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2174 | $temp = explode('.', $file); |
|
2175 | $imageNLS = $temp[0]; |
|
2176 | $result = URL::ARtoRAW($result, $imageNLS); |
|
2177 | } |
|
2178 | } else { |
|
2179 | $result=false; |
|
2180 | $ARCurrent->cache[]=$file; |
|
@@ 2226-2231 (lines=6) @@ | ||
2223 | $contentType = ''; |
|
2224 | } |
|
2225 | ||
2226 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2227 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2228 | $temp = explode('.', $file); |
|
2229 | $imageNLS = $temp[0]; |
|
2230 | $image = URL::RAWtoAR($image, $imageNLS); |
|
2231 | } |
|
2232 | ||
2233 | if( $time > 0 && $DB["wasUsed"] == 0) { |
|
2234 | $pcache=$this->store->get_filestore("privatecache"); |