Changeset 15316


Ignore:
Timestamp:
May 26, 2012, 9:48:28 AM (8 years ago)
Author:
plg
Message:

remove useless function/configuration due to derivatives

Location:
trunk/include
Files:
2 edited

Legend:

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

    r15299 r15316  
    226226// category and element description.
    227227$conf['allow_html_descriptions'] = true;
    228 
    229 // prefix_thumbnail : string before filename. Thumbnail's prefix must only
    230 // contain characters among : a to z (case insensitive), "-" or "_".
    231 $conf['prefix_thumbnail'] = 'TN-';
    232 
    233 // dir_thumbnail : directory where thumbnail reside.
    234 $conf['dir_thumbnail'] = 'thumbnail';
    235228
    236229// users_page: how many users to display in screen
  • trunk/include/functions.inc.php

    r13488 r15316  
    199199  }
    200200  return true;
    201 }
    202 
    203 /**
    204  * returns thumbnail directory name of input diretoty name
    205  * make thumbnail directory is necessary
    206  * set error messages on array messages
    207  *
    208  * @param:
    209  *  string $dirname
    210  *  arrayy $errors
    211  * @return bool false on error else string directory name
    212  */
    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;
    225201}
    226202
Note: See TracChangeset for help on using the changeset viewer.