Ticket #589: creer_cache.diff
| File creer_cache.diff, 483 bytes (added by Lipki, 8 months ago) |
|---|
-
function.image.php
old new 221 221 222 222 $ext = empty($array['ext'])?$ext:$mimes[$array['ext']]; 223 223 $cache_path = JELIX_APP_WWW_PATH.'cache/images/'; 224 jFile::createDir($cache_path); 224 225 226 225 227 // Register 226 228 switch ( $ext ) { 227 229 case 'image/gif' : imagegif($image, $cache_path.$cachename); break;
