From 71774d6496e808fa6baa2b6567c89bfc5fb2ceff Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 18 Aug 2009 19:11:01 +0000 Subject: Fix for feature 1000: cannot access $conf array (use global) git-svn-id: http://piwigo.org/svn/trunk@3750 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/functions.inc.php b/include/functions.inc.php index a8c65f0e9..84bf02460 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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) ) { -- cgit v1.2.3