aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-06-28 21:54:04 +0000
committerplegall <plg@piwigo.org>2010-06-28 21:54:04 +0000
commit46e324e5828673abf8b6bde5d13f192fe7060270 (patch)
tree23682342c03ea032dfd9c286a22fadfe1d8047a4 /admin
parentb7bdd227732e1bcaad5bc7b290ec65b8fe25b475 (diff)
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
Diffstat (limited to 'admin')
-rw-r--r--admin/photos_add_direct.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/photos_add_direct.php b/admin/photos_add_direct.php
index 682e4baaa..7d094755d 100644
--- a/admin/photos_add_direct.php
+++ b/admin/photos_add_direct.php
@@ -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,