mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Filter invalid file names
This commit is contained in:
@@ -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 />";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user