@@ 2180-2185 (lines=6) @@ | ||
2177 | $contentType = ''; |
|
2178 | } |
|
2179 | ||
2180 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2181 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2182 | $temp = explode('.', $file); |
|
2183 | $imageNLS = $temp[0]; |
|
2184 | $result = URL::ARtoRAW($result, $imageNLS); |
|
2185 | } |
|
2186 | } else { |
|
2187 | $result=false; |
|
2188 | $ARCurrent->cache[]=$file; |
|
@@ 2234-2239 (lines=6) @@ | ||
2231 | $contentType = ''; |
|
2232 | } |
|
2233 | ||
2234 | if (!$contentType || strtolower($contentType) == 'text') { |
|
2235 | require_once($this->store->get_config('code')."modules/mod_url.php"); |
|
2236 | $temp = explode('.', $file); |
|
2237 | $imageNLS = $temp[0]; |
|
2238 | $image = URL::RAWtoAR($image, $imageNLS); |
|
2239 | } |
|
2240 | ||
2241 | if( $time > 0 && $DB["wasUsed"] == 0) { |
|
2242 | $pcache=$this->store->get_filestore("privatecache"); |