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