[svn r14269] fix a bug when editing slides (image url is broken because relative)

skala
Eric Marguin 18 years ago
parent a21a47c847
commit b0b635429e
  1. 2
      main/newscorm/openoffice_presentation.class.php

@ -45,7 +45,7 @@ class OpenofficePresentation extends OpenofficeDocument {
'<html> '<html>
<head></head> <head></head>
<body> <body>
<img src="'.$this->file_name.'/'.$file.'" /> <img src="'.api_get_path(REL_COURSE_PATH).$_course['path'].'/document/'.$this->created_dir.'/'.$this->file_name.'/'.$file.'" />
</body> </body>
</html>'); </html>');
fclose($fp); fclose($fp);

Loading…
Cancel
Save