Changeset 12924


Ignore:
Timestamp:
01/18/12 17:35:02 (8 years ago)
Author:
patdenice
Message:

Move personnal thumbnails from GThumb folder to thumbnail folder with GT- prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/main.inc.php

    r12859 r12924  
    166166  if ( !empty($picture['tn_ext']) ) 
    167167  { 
    168     $file = substr_replace(get_filename_wo_extension($picture['path']), '/GThumb/',strrpos($picture['path'],'/'),1).'.'.$picture['tn_ext']; 
     168    $file = substr_replace(get_filename_wo_extension($picture['path']), '/thumbnail/GT-',strrpos($picture['path'],'/'),1).'.'.$picture['tn_ext']; 
    169169    if (file_exists($file)) 
    170170    { 
Note: See TracChangeset for help on using the changeset viewer.