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:
parent
b7bdd22773
commit
46e324e582
1 changed files with 5 additions and 0 deletions
|
@ -450,6 +450,11 @@ if (!empty($error_message))
|
||||||
array_push($setup_errors, $error_message);
|
array_push($setup_errors, $error_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('gd_info'))
|
||||||
|
{
|
||||||
|
array_push($setup_errors, l10n('GD library is missing'));
|
||||||
|
}
|
||||||
|
|
||||||
$template->assign(
|
$template->assign(
|
||||||
array(
|
array(
|
||||||
'setup_errors'=> $setup_errors,
|
'setup_errors'=> $setup_errors,
|
||||||
|
|
Loading…
Add table
Reference in a new issue