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

form.


git-svn-id: http://piwigo.org/svn/branches/2.1@6618 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2010-06-28 21:54:04 +00:00
parent b7bdd22773
commit 46e324e582

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,