Changeset 12924 for extensions/GThumb


Ignore:
Timestamp:
Jan 18, 2012, 5:35:02 PM (12 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.