Ticket #589: creer_cache.diff

File creer_cache.diff, 483 bytes (added by Lipki, 8 months ago)
  • function.image.php

    old new  
    221221     
    222222    $ext = empty($array['ext'])?$ext:$mimes[$array['ext']]; 
    223223    $cache_path = JELIX_APP_WWW_PATH.'cache/images/'; 
     224    jFile::createDir($cache_path); 
    224225     
     226     
    225227    // Register 
    226228    switch ( $ext ) { 
    227229        case 'image/gif'  : imagegif($image, $cache_path.$cachename); break; 
Download in other formats: Original Format