aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2009-08-18 19:11:01 +0000
committernikrou <nikrou@piwigo.org>2009-08-18 19:11:01 +0000
commit71774d6496e808fa6baa2b6567c89bfc5fb2ceff (patch)
treeb0b71f2238e3490778337a8eeb743cb0149d4078
parentbac7567b5c5a994642cede7fd0c4298e0b2d2389 (diff)
Fix for feature 1000: cannot access $conf array (use global)
git-svn-id: http://piwigo.org/svn/trunk@3750 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions.inc.php2
1 files changed, 2 insertions, 0 deletions
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) )
{