Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for feature 1000: cannot access $conf array (use global)
git-svn-id: http://piwigo.org/svn/trunk@3750 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
nikrou committed Aug 18, 2009
1 parent bac7567 commit 71774d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/functions.inc.php
Expand Up @@ -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) )
{
Expand Down

0 comments on commit 71774d6

Please sign in to comment.