diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-03 17:09:21 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-04-03 17:09:21 -0400 |
commit | e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f (patch) | |
tree | 45c186907168366a15552ef2d65426d7caa00285 /etc | |
parent | 3ab35d3058f0b8fee49021bb895eba34b795da29 (diff) | |
download | pfsense-e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f.zip pfsense-e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f.tar.gz |
Detect .git URL's too.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/phpshellsessions/cvssync | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index cbcfba5..eadc593 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -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; } |