aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) )
{