diff options
| author | root | 2014-04-28 22:33:51 +0200 |
|---|---|---|
| committer | root | 2014-04-28 22:33:51 +0200 |
| commit | a7afe53942d4d83a86e986614ec5b9380f8648f3 (patch) | |
| tree | 79f4d5f4058b2547c1b9d07632b103a41f97ebab /www/functions | |
| parent | 760c31261d5c045c8e22461c3c3815e3cdd74a8b (diff) | |
| download | files.iamfabulous.de-a7afe53942d4d83a86e986614ec5b9380f8648f3.tar.gz | |
Forgot to commit something...
Diffstat (limited to 'www/functions')
| -rwxr-xr-x | www/functions/func_upload.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/functions/func_upload.php b/www/functions/func_upload.php index 6f39ad3..e74e04f 100755 --- a/www/functions/func_upload.php +++ b/www/functions/func_upload.php @@ -182,7 +182,8 @@ function web_upload($db){ echo "no hyperlink"; return false; } - if(!preg_match("/^[a-zA-Z]+://", $url){ + + if(!preg_match("/^[a-zA-Z]+://", $url)){ $url = "http://".$url; } $file = file_get_contents($url); |
