Detect .git URL's too.

This commit is contained in:
Scott Ullrich 2009-04-03 17:09:21 -04:00
parent 3ab35d3058
commit e2b6dd9115

View File

@ -211,8 +211,10 @@ function post_cvssync_commands() {
function isUrl($url = "") {
if($url)
if(strstr($url, "rcs.pfsense.org") or strstr($url, "mainline"))
return true;
if(strstr($url, "rcs.pfsense.org") or
strstr($url, "mainline") or
strstr($url, ".git"))
return true;
return false;
}