diff options
| author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-25 08:16:35 +0200 |
|---|---|---|
| committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-25 08:16:35 +0200 |
| commit | 6345fcede7493010ab78239c3e775d16c2f41458 (patch) | |
| tree | 3bcdf7732386e2026a9c52688f303dd6fdffbfa5 /modules/gallery/helpers/graphics.php | |
| parent | be354ab98bbb08abad0a7efd6fb1d110e11381de (diff) | |
| parent | ec67300f9628582bf735468c73aec3c01a6eb57f (diff) | |
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
| -rw-r--r-- | modules/gallery/helpers/graphics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index 3f3317ae..71b8ddd8 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -331,7 +331,7 @@ class graphics_Core { if (!isset($gd["GD Version"])) { $gd["GD Version"] = false; } - putenv("PATH=" . getenv("PATH") . ":/usr/local/bin"); + putenv("PATH=" . getenv("PATH") . ":/usr/local/bin:/opt/local/bin"); return array("gd" => $gd, "imagemagick" => $exec ? dirname(exec("which convert")) : false, "graphicsmagick" => $exec ? dirname(exec("which gm")) : false); |
