mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user