浏览代码

manual merge

Yannick Warnier 11 年之前
父节点
当前提交
8a12bbc2b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
main/newscorm/learnpath.class.php

@@ -5633,7 +5633,7 @@ class learnpath
                 // The first regexp deals with :// urls.
                 $content = preg_replace("|(flashvars=\"file=)([^:/]+)/|", "$1" . api_get_path(REL_COURSE_PATH) . $_course['path'] . '/document/', $content);
                 // The second regexp deals with audio/ urls.
-                $content = preg_replace("|(flashvars=\"file=)([^/]+)/|", "$1" . api_get_path(REL_COURSE_PATH) . $_course['path'] . '/document/$2/', $content);
+                $content = preg_replace("|(flashvars=\"file=)([^:/]+)/|", "$1" . api_get_path(REL_COURSE_PATH) . $_course['path'] . '/document/$2/', $content);
                 fputs($fp, $content);
                 fclose($fp);