summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/movie.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-24 21:19:05 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-24 21:19:05 -0700
commitabbecb9e7e6e26d50cae0754d4c6320892b8def5 (patch)
tree378e8a8f0e819e9efaa43e37d3885dd7a2da36fa /modules/gallery/helpers/movie.php
parent2d97a9a8b6b3b45b3cfdc426f8c476dd1ef104d4 (diff)
Look in /opt/local/bin for binaries, too.
Fixes ticket #423.
Diffstat (limited to 'modules/gallery/helpers/movie.php')
-rw-r--r--modules/gallery/helpers/movie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php
index 28c15d81..fcf1cc54 100644
--- a/modules/gallery/helpers/movie.php
+++ b/modules/gallery/helpers/movie.php
@@ -145,7 +145,7 @@ class movie_Core {
static function find_ffmpeg() {
if (!$ffmpeg_path = module::get_var("gallery", "ffmpeg_path")) {
- putenv("PATH=" . getenv("PATH") . ":/usr/local/bin");
+ putenv("PATH=" . getenv("PATH") . ":/usr/local/bin:/opt/local/bin");
if (function_exists("exec")) {
$ffmpeg_path = exec("which ffmpeg");
}