Ignore:
Timestamp:
Aug 2, 2009, 3:04:17 PM (15 years ago)
Author:
nikrou
Message:

New feature : configuration option for thumbnail directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r3282 r3720  
    257257function mkget_thumbnail_dir($dirname, &$errors)
    258258{
    259   $tndir = $dirname.'/thumbnail';
     259  $tndir = $dirname.'/'.$conf['dir_thumbnail'];
    260260  if (! mkgetdir($tndir, MKGETDIR_NONE) )
    261261  {
     
    866866    $path = substr_replace(
    867867      get_filename_wo_extension($element_info['path']),
    868       '/thumbnail/'.$conf['prefix_thumbnail'],
     868      '/'.$conf['dir_thumbnail'].'/'.$conf['prefix_thumbnail'],
    869869      strrpos($element_info['path'],'/'),
    870870      1
Note: See TracChangeset for help on using the changeset viewer.