Remove unnecessary wildcard globing

This commit is contained in:
pips 2016-12-13 13:37:49 +01:00
parent b09244cc5f
commit d0978c92c6

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.';