mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-05 14:40:44 -04:00
Add /opt/bin as a binary path.
This commit is contained in:
@@ -331,7 +331,7 @@ class graphics_Core {
|
||||
if (!isset($gd["GD Version"])) {
|
||||
$gd["GD Version"] = false;
|
||||
}
|
||||
putenv("PATH=" . getenv("PATH") . ":/usr/local/bin:/opt/local/bin");
|
||||
putenv("PATH=" . getenv("PATH") . ":/usr/local/bin:/opt/local/bin:/opt/bin");
|
||||
return array("gd" => $gd,
|
||||
"imagemagick" => $exec ? dirname(exec("which convert")) : false,
|
||||
"graphicsmagick" => $exec ? dirname(exec("which gm")) : false);
|
||||
|
||||
Reference in New Issue
Block a user