Added www to domain name
[tpope-extra.git] / drupal / modules / cvsfilter.module
index 9f02941bc59f9f1d636d2fd57adbf92cf7ee21ed..372c59fdf4c127d5bbfda3efd3977c1550e28bad 100644 (file)
@@ -16,8 +16,8 @@ function cvsfilter_filter($op, $text = "") {
     case "settings":
       return form_group(t("URL Filter"), t("CVS Filter is enabled.  This means that cvs: style URLs will automatically be pointed at the appropriate location."));
     case "process":
-      $text = preg_replace("/<a href=\"cvs:\/\/([^\"\/]*)\/?([^\"]*)\">/i", '<a href="http://sexygeek.us/cgi-bin/cvsweb/\2?cvsroot=\1">', $text);
-      $text = preg_replace("/<a href=\"cvs:([^\"]*)\">/i", '<a href="http://sexygeek.us/cgi-bin/cvsweb/\1?cvsroot=tpope">', $text);
+      $text = preg_replace("/<a href=\"cvs:\/\/([^\"\/]*)\/?([^\"]*)\">/i", '<a href="http://www.sexygeek.us/cgi-bin/cvsweb/\2?cvsroot=\1">', $text);
+      $text = preg_replace("/<a href=\"cvs:([^\"]*)\">/i", '<a href="http://www.sexygeek.us/cgi-bin/cvsweb/\1?cvsroot=tpope">', $text);
       return $text;
     default:
       return $text;