diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 08:44:45 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 08:44:45 +0000 |
commit | 65e4e46dbbdd0b2e25977e0365ac215f8f6f399e (patch) | |
tree | 51312c2a88a154c4ece81d2be28efd7ad3692685 /plugins/video_zencoder/video_zencoder.module | |
parent | d1ef125d9d6b772922411187baaaf3402316c431 (diff) | |
download | video-65e4e46dbbdd0b2e25977e0365ac215f8f6f399e.tar.gz video-65e4e46dbbdd0b2e25977e0365ac215f8f6f399e.tar.bz2 |
Updating module for drupal7 file system API
Diffstat (limited to 'plugins/video_zencoder/video_zencoder.module')
-rw-r--r-- | plugins/video_zencoder/video_zencoder.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/video_zencoder/video_zencoder.module b/plugins/video_zencoder/video_zencoder.module index f8a779b..16e9ab1 100644 --- a/plugins/video_zencoder/video_zencoder.module +++ b/plugins/video_zencoder/video_zencoder.module @@ -90,7 +90,7 @@ function _video_zencoder_postback_jobs() { // this will update the default thumbnails, if user want to select another one then they wil need to edit the node // Setup our thmbnail path. $video_thumb_path = variable_get('video_thumb_path', 'video_thumbs'); - $final_thumb_path = file_directory_path() . '/' . $video_thumb_path . '/' . $fid; + $final_thumb_path = file_default_scheme() . ':/' . $video_thumb_path . '/' . $fid; // $i = rand(0, (variable_get('no_of_video_thumbs', 5) - 1)); $filename = $fid . '_' . sprintf("%04d", 1) . '.png'; $thumbfile = $final_thumb_path . '/' . $filename; |