diff options
Diffstat (limited to 'core/helpers/graphics.php')
-rw-r--r-- | core/helpers/graphics.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php index b409de47..ed6f314d 100644 --- a/core/helpers/graphics.php +++ b/core/helpers/graphics.php @@ -274,6 +274,9 @@ class graphics_Core { static function detect_toolkits() { $gd = function_exists("gd_info") ? gd_info() : array(); $exec = function_exists("exec"); + if (!isset($gd["GD Version"])) { + $gd["GD Version"] = false; + } return array("gd" => $gd, "imagemagick" => $exec ? dirname(exec("which convert")) : false, "graphicsmagick" => $exec ? dirname(exec("which gm")) : false); |