diff --git a/helpers.php b/helpers.php index 5727d31..9e8d27a 100644 --- a/helpers.php +++ b/helpers.php @@ -11,6 +11,8 @@ function getFilename($url){ $stripped_url = preg_replace('/\\?.*/', '', $url); $realfilename = basename($stripped_url); } + + return $realfilename; } function checkURL($url) {