Fix issue 43 and 47. Bug on add image from URL.

master
vbracco 2007-09-17 18:55:38 +00:00
parent aeceafeacc
commit ae58f82378
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ if(!defined('entry') || !entry) die('Not a valid page');
}
function getFile($remoteFileName) {
$fileName = sanitizeName("../uploads/".$remoteFileName);
$fileName = "../uploads/".sanitizeName($remoteFileName);
$str = _file_get_contents($remoteFileName);
if (!$handle = fopen($fileName, 'w')) {
return false;