X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fphp%2Fclearscm.php;h=e43d016881e8d5cd4375385cdd19893b61fdcc67;hb=3226ce71cef10280e3827ac4429cc882f1ebac37;hp=aef2a4b4b8707818f05dc8460f6bad0a02acb12a;hpb=8b30d7497339816cec2f7475b2d7007a8132740d;p=clearscm.git
diff --git a/web/php/clearscm.php b/web/php/clearscm.php
index aef2a4b..e43d016 100644
--- a/web/php/clearscm.php
+++ b/web/php/clearscm.php
@@ -89,7 +89,7 @@ function menu () {
@@ -294,22 +294,13 @@ 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)) {
$line = fgets ($stdout);
- if (preg_match ("//", $line)) {
- $end_of_index = 1;
- continue;
- }
-
- if (!$end_of_index) {
- continue;
- } // if
-
// Filter some CVS keywords properly
$line = preg_replace ("/\\\$Revision\:\s*(\S*)\s*\\\$/",
"Revision $1",