aboutsummaryrefslogtreecommitdiffstats
path: root/admin/photos_add_direct.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/photos_add_direct.php')
-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,