summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/graphics.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php
index 4c8f3bb1..37143f74 100644
--- a/core/helpers/graphics.php
+++ b/core/helpers/graphics.php
@@ -236,11 +236,7 @@ class graphics_Core {
* GraphicsMagick we return the path to the directory containing the appropriate binaries.
*/
static function detect_toolkits() {
- try {
- $gd = function_exists("gd_info") ? gd_info() : array();
- } catch (Exception $e) {
- $gd = array();
- }
+ $gd = function_exists("gd_info") ? gd_info() : array();
return array("gd" => $gd,
"imagemagick" => dirname(exec("which convert")),
"graphicsmagick" => dirname(exec("which gm")));