Remove unnecessary wildcard globing

This commit is contained in:
Simon Lieb 2016-12-13 13:37:49 +01:00
parent c51d19aa63
commit e9c966061a

View file

@ -35,7 +35,7 @@ if (!empty($_GET['url'])) {
$hashfolderpath = './db/'.$hashfolder;
$hashfilepath = $hashfolderpath.'/'.$hashfile;
$findfiles = glob($hashfilepath.'*');
$findfiles = glob($hashfilepath);
if (empty($findfiles)) {
$content = 'No files.';