From 222b96f3192ccdf5a6d1b5673d3a454573c56993 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Wed, 31 May 2017 16:40:40 -0700 Subject: [PATCH] Fixed references to clearscm.git --- web/php/clearscm.php | 6 +++--- web/php/scm.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/php/clearscm.php b/web/php/clearscm.php index c26bb5f..80e8229 100644 --- a/web/php/clearscm.php +++ b/web/php/clearscm.php @@ -89,7 +89,7 @@ function menu () {
@@ -294,8 +294,8 @@ function scm_man ($file) { $end_of_index = 0; $pre_just_ended = 0; - $url = "/gitweb/?p=.git;a=blob_plain;f=$file;hb=HEAD"; - $history = "/gitweb/?p=.git;a=history;f=$file;hb=HEAD"; + $url = "/gitweb/?p=clearscm.git;a=blob_plain;f=$file;hb=HEAD"; + $history = "/gitweb/?p=clearscm.git;a=history;f=$file;hb=HEAD"; // Now get the output and write it out while (!feof ($stdout)) { diff --git a/web/php/scm.php b/web/php/scm.php index 15ba134..60f0487 100644 --- a/web/php/scm.php +++ b/web/php/scm.php @@ -13,7 +13,7 @@ // //////////////////////////////////////////////////////////////////////////////// function getSCMFile ($file) { - $url = "http://clearscm.com/gitweb/?p=.git;a=blob_plain;f=$file;hb=HEAD"; + $url = "http://clearscm.com/gitweb/?p=clearscm.git;a=blob_plain;f=$file;hb=HEAD"; $contents = @file ($url) or die ("$url not found"); -- 2.17.1