Skip to content

Commit

Permalink
bug 860 related: don't try to update the configuration during install…
Browse files Browse the repository at this point in the history
… because

pwg_query is not available yet.

git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Apr 29, 2010
1 parent b8d3c9d commit ad27e26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/template.class.php
Expand Up @@ -67,7 +67,9 @@ function Template($root = ".", $theme= "", $path = "template")
false // show trace
);
}
conf_update_param('local_data_dir_checked', 'true');
if (function_exists('pwg_query')) {
conf_update_param('local_data_dir_checked', 'true');
}
}

$compile_dir = $conf['local_data_dir'].'/templates_c';
Expand Down

0 comments on commit ad27e26

Please sign in to comment.