From e9c966061a354eeb12b56de77f95688e9c0b57d2 Mon Sep 17 00:00:00 2001 From: Simon Lieb Date: Tue, 13 Dec 2016 13:37:49 +0100 Subject: [PATCH] Remove unnecessary wildcard globing --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 3ed7533..544c210 100644 --- a/index.php +++ b/index.php @@ -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.';