From 7a95d3040872ca01d33fb468462bd3477bcd25cd Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 26 Apr 2008 04:08:04 +0200 Subject: [PATCH] [svn r15141] Going through download.php to get the flv file (for the player) --- main/newscorm/audiorecorder.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/newscorm/audiorecorder.inc.php b/main/newscorm/audiorecorder.inc.php index 28728d82a2..78b0ae6ab7 100644 --- a/main/newscorm/audiorecorder.inc.php +++ b/main/newscorm/audiorecorder.inc.php @@ -33,7 +33,8 @@ else if(Database::num_rows($res)>0) { $row = Database::fetch_array($res); - $filepath = api_get_path(WEB_COURSE_PATH).$cp.'/document'.$row['path']; + //$filepath = api_get_path(WEB_COURSE_PATH).$cp.'/document'.$row['path']; + $filepath = api_get_path(WEB_CODE_PATH).'document/download.php?'.api_get_cidreq().'&doc_url='.$row['path']; $path_to_lzx = $web_path.'conference/'.$player.'?uri='.$filepath.'&autostart=true'; } }