mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 11:02:43 +02:00
Fix for feature 1000: cannot access $conf array (use global)
git-svn-id: http://piwigo.org/svn/trunk@3750 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -256,6 +256,8 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT)
|
||||
*/
|
||||
function mkget_thumbnail_dir($dirname, &$errors)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$tndir = $dirname.'/'.$conf['dir_thumbnail'];
|
||||
if (! mkgetdir($tndir, MKGETDIR_NONE) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user