Forgot return statement...
This commit is contained in:
parent
17ae37346f
commit
e456bedc68
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ function getFilename($url){
|
|||
$stripped_url = preg_replace('/\\?.*/', '', $url);
|
||||
$realfilename = basename($stripped_url);
|
||||
}
|
||||
|
||||
return $realfilename;
|
||||
}
|
||||
|
||||
function checkURL($url) {
|
||||
|
|
Loading…
Reference in a new issue