summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/movie.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 07:15:00 +0800
committerGallery Role Account <gallery@menalto.com>2009-05-28 11:07:09 +0800
commit4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch)
tree6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery/helpers/movie.php
parent3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (diff)
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs. Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/helpers/movie.php')
-rw-r--r--modules/gallery/helpers/movie.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/movie.php b/modules/gallery/helpers/movie.php
index 3293d4ac..15225fe7 100644
--- a/modules/gallery/helpers/movie.php
+++ b/modules/gallery/helpers/movie.php
@@ -140,11 +140,11 @@ class movie_Core {
}
static function find_ffmpeg() {
- if (!$ffmpeg_path = module::get_var("core", "ffmpeg_path")) {
+ if (!$ffmpeg_path = module::get_var("gallery", "ffmpeg_path")) {
if (function_exists("exec")) {
$ffmpeg_path = exec("which ffmpeg");
if ($ffmpeg_path) {
- module::set_var("core", "ffmpeg_path", $ffmpeg_path);
+ module::set_var("gallery", "ffmpeg_path", $ffmpeg_path);
}
}
}