Changeset 15316 for trunk/include/functions.inc.php
- Timestamp:
- May 26, 2012, 9:48:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r13488 r15316 199 199 } 200 200 return true; 201 }202 203 /**204 * returns thumbnail directory name of input diretoty name205 * make thumbnail directory is necessary206 * set error messages on array messages207 *208 * @param:209 * string $dirname210 * arrayy $errors211 * @return bool false on error else string directory name212 */213 function mkget_thumbnail_dir($dirname, &$errors)214 {215 global $conf;216 217 $tndir = $dirname.'/'.$conf['dir_thumbnail'];218 if (! mkgetdir($tndir, MKGETDIR_NONE) )219 {220 array_push($errors,221 '['.$dirname.'] : '.l10n('no write access'));222 return false;223 }224 return $tndir;225 201 } 226 202
Note: See TracChangeset
for help on using the changeset viewer.