diff options
author | flop25 <flop25@piwigo.org> | 2013-06-28 20:12:49 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-06-28 20:12:49 +0000 |
commit | bd9529fbf03be4d828abdfce0bb520c6b60cc6f7 (patch) | |
tree | 4e9657fb91966498ebbbb182f1b5c08329a67b5a /admin/configuration.php | |
parent | cc8835bb1f1666491d3719b39fd19a97c623d142 (diff) |
bug:2840
disable the "resize after upload" options if gd
1 lang key added
git-svn-id: http://piwigo.org/svn/trunk@23643 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/configuration.php')
-rw-r--r-- | admin/configuration.php | 2 |
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( |