merge r6618 from branch 2.1 to trunk

bug 1746 fixed: a missing GD library is a setup error, it blocks the upload
form.



git-svn-id: http://piwigo.org/svn/trunk@6620 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-06-28 23:12:40 +00:00
parent c6d981cc58
commit 4b4d79c239
+5
View File
@@ -450,6 +450,11 @@ if (!empty($error_message))
array_push($setup_errors, $error_message);
}
if (!function_exists('gd_info'))
{
array_push($setup_errors, l10n('GD library is missing'));
}
$template->assign(
array(
'setup_errors'=> $setup_errors,