mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Filter invalid file names
This commit is contained in:
parent
6e50b07a15
commit
796e6555eb
@ -57,6 +57,7 @@ if (e_QUERY)
|
||||
$opts = varset($tmp[2],'upsize');
|
||||
if(!resize_image($source, 'stdout', $newsize, $opts))
|
||||
{
|
||||
$source = $tp->toDB($source);
|
||||
echo "Couldn't find: {$source}<br />";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user