Merge branch 'dev' into images_security

This commit is contained in:
tcit 2014-05-19 15:04:09 +02:00
commit 03e501dedd

View file

@ -68,6 +68,7 @@ function get_absolute_link($relative_link, $url) {
function download_pictures($absolute_path, $fullpath)
{
$rawdata = Tools::getFile($absolute_path);
$fullpath = urldecode($fullpath);
if(file_exists($fullpath)) {
unlink($fullpath);