Full URL for medias

This commit is contained in:
ArthurHoaro 2013-03-18 09:57:08 +01:00
parent cc70f82afc
commit b5cdbebfa3

View file

@ -530,9 +530,8 @@ class VroumVroum_Blog
// Ignore copy errors
}
}
$content = str_replace($m[0], $m[1] . '="media/'.$filename.'" data-original-source="'.$url.'"', $content);
$content = str_replace($m[0], $m[1] . '="'. LOCAL_URL .'media/'.$filename.'" data-original-source="'.$url.'"', $content);
}
return $content;
}