@@ 2246-2251 (lines=6) @@ | ||
2243 | $contentType = ''; |
|
2244 | } |
|
2245 | ||
2246 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2247 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2248 | $temp = explode('.', $file); |
|
2249 | $imageNLS = $temp[0]; |
|
2250 | $result = URL::ARtoRAW($result, $imageNLS); |
|
2251 | } |
|
2252 | } else { |
|
2253 | $result=false; |
|
2254 | $ARCurrent->cache[]=$file; |
|
@@ 2299-2304 (lines=6) @@ | ||
2296 | $contentType = ''; |
|
2297 | } |
|
2298 | ||
2299 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2300 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2301 | $temp = explode('.', $file); |
|
2302 | $imageNLS = $temp[0]; |
|
2303 | $image = URL::RAWtoAR($image, $imageNLS); |
|
2304 | } |
|
2305 | ||
2306 | if( $time > 0 && $DB["wasUsed"] == 0) { |
|
2307 | $pcache=$this->store->get_filestore("privatecache"); |