remove useless function/configuration due to derivatives
git-svn-id: http://piwigo.org/svn/trunk@15316 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
4355ed1ce7
commit
7ceb4bf21c
2 changed files with 0 additions and 31 deletions
|
|
@ -226,13 +226,6 @@ $conf['representative_cache_on_subcats'] = true;
|
|||
// category and element description.
|
||||
$conf['allow_html_descriptions'] = true;
|
||||
|
||||
// prefix_thumbnail : string before filename. Thumbnail's prefix must only
|
||||
// contain characters among : a to z (case insensitive), "-" or "_".
|
||||
$conf['prefix_thumbnail'] = 'TN-';
|
||||
|
||||
// dir_thumbnail : directory where thumbnail reside.
|
||||
$conf['dir_thumbnail'] = 'thumbnail';
|
||||
|
||||
// users_page: how many users to display in screen
|
||||
// Administration>Identification>Users?
|
||||
$conf['users_page'] = 20;
|
||||
|
|
|
|||
|
|
@ -200,30 +200,6 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns thumbnail directory name of input diretoty name
|
||||
* make thumbnail directory is necessary
|
||||
* set error messages on array messages
|
||||
*
|
||||
* @param:
|
||||
* string $dirname
|
||||
* arrayy $errors
|
||||
* @return bool false on error else string directory name
|
||||
*/
|
||||
function mkget_thumbnail_dir($dirname, &$errors)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$tndir = $dirname.'/'.$conf['dir_thumbnail'];
|
||||
if (! mkgetdir($tndir, MKGETDIR_NONE) )
|
||||
{
|
||||
array_push($errors,
|
||||
'['.$dirname.'] : '.l10n('no write access'));
|
||||
return false;
|
||||
}
|
||||
return $tndir;
|
||||
}
|
||||
|
||||
/* Returns true if the string appears to be encoded in UTF-8. (from wordpress)
|
||||
* @param string Str
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue