From d0978c92c6b54961f0a76eb47b21846e249d97db Mon Sep 17 00:00:00 2001 From: pips 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.';