[svn r13513] Fixed bug preventing inclusion of images starting with "./" in SCORM export

skala
Yannick Warnier 18 years ago
parent b372381b8b
commit 6ba37c4e63
  1. 2
      main/newscorm/learnpathItem.class.php

@ -563,7 +563,7 @@ class learnpathItem{
{
//skip what is obviously not a resource
if(strpos($source,"+this.")) continue; //javascript code - will still work unaltered
if(!strpos($source,'.')) continue; //no dot, should not be an external file anyway
if(strpos($source,'.')=== false) continue; //no dot, should not be an external file anyway
if(strpos($source,'mailto:')) continue; //mailto link
if(strpos($source,';') && !strpos($source,'&')) continue; //avoid code - that should help

Loading…
Cancel
Save