aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/configuration.php')
-rw-r--r--admin/configuration.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index f0267ea44..63bc29f3c 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -440,6 +440,8 @@ switch ($page['section'])
// when submitting the form and an error remains
if (!isset($page['sizes_loaded_in_tpl']))
{
+ $is_gd = (pwg_image::get_library()=='gd')? true : false;
+ $template->assign('is_gd', $is_gd);
$template->assign(
'sizes',
array(