summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/graphics.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-12 06:08:14 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-12 06:08:14 -0700
commitfcddeefa59e3db8ebc0b394b38e9aef2ddf00371 (patch)
tree8ec935f1703c187f974b1dc243c403adb2d937a3 /modules/gallery/helpers/graphics.php
parentf369b8fabfdffe475464827d6225b2d4895aadb5 (diff)
parent67c81087131e7ef3e4d50ac549bc58dcc98d8cef (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
-rw-r--r--modules/gallery/helpers/graphics.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index 25eb0891..feebfb34 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -326,6 +326,7 @@ class graphics_Core {
if (!isset($gd["GD Version"])) {
$gd["GD Version"] = false;
}
+ putenv("PATH=" . getenv("PATH") . ":/usr/local/bin");
return array("gd" => $gd,
"imagemagick" => $exec ? dirname(exec("which convert")) : false,
"graphicsmagick" => $exec ? dirname(exec("which gm")) : false);