bug 860 related: don't try to update the configuration during install because

pwg_query is not available yet.

git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-04-29 16:02:20 +00:00
parent b8d3c9dba4
commit ad27e26c48
+3 -1
View File
@@ -67,7 +67,9 @@ class 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';