Changeset 3720 for trunk/include
- Timestamp:
- Aug 2, 2009, 3:04:17 PM (15 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config_default.inc.php
r3662 r3720 264 264 // contain characters among : a to z (case insensitive), "-" or "_". 265 265 $conf['prefix_thumbnail'] = 'TN-'; 266 267 // dir_thumbnail : directory where thumbnail reside. 268 $conf['dir_thumbnail'] = 'thumbnail'; 266 269 267 270 // users_page: how many users to display in screen -
trunk/include/functions.inc.php
r3282 r3720 257 257 function mkget_thumbnail_dir($dirname, &$errors) 258 258 { 259 $tndir = $dirname.'/ thumbnail';259 $tndir = $dirname.'/'.$conf['dir_thumbnail']; 260 260 if (! mkgetdir($tndir, MKGETDIR_NONE) ) 261 261 { … … 866 866 $path = substr_replace( 867 867 get_filename_wo_extension($element_info['path']), 868 '/ thumbnail/'.$conf['prefix_thumbnail'],868 '/'.$conf['dir_thumbnail'].'/'.$conf['prefix_thumbnail'], 869 869 strrpos($element_info['path'],'/'), 870 870 1 -
trunk/include/ws_functions.inc.php
r3662 r3720 1066 1066 // thumbnail directory is a subdirectory of the photo file, hard coded 1067 1067 // "thumbnail" 1068 $thumbnail_dir = $upload_dir.'/ thumbnail';1068 $thumbnail_dir = $upload_dir.'/'.$conf['dir_thumbnail']; 1069 1069 if (!is_dir($thumbnail_dir)) { 1070 1070 umask(0000);
Note: See TracChangeset
for help on using the changeset viewer.