1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00
git-svn-id: file:///svn/phpbb/trunk@7809 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-06-29 13:37:21 +00:00
parent 6f37638cae
commit 3cb990df4d
5 changed files with 68 additions and 13 deletions

View File

@@ -227,7 +227,7 @@ function validate_website($url)
if ($url === 'http://'){
return '';
}
else if (strstr('http://', $url) !== 0)
else if (strpos(strtolower($url), 'http://') !== 0)
{
return 'http://' . $url;
}