X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=web%2Fphp%2Fclearscm.php;h=068e46f344d812bce74d27b50d04b1a321f1b096;hb=64cb05c445d480f29d266e70db6eb1d021d34456;hp=6c262f14251fba1f9bb300b7d4751ecb952d1733;hpb=882c1dda622316e9ec7bbbfefe66d520f7de0b09;p=clearscm.git diff --git a/web/php/clearscm.php b/web/php/clearscm.php index 6c262f1..068e46f 100644 --- a/web/php/clearscm.php +++ b/web/php/clearscm.php @@ -14,6 +14,8 @@ //////////////////////////////////////////////////////////////////////////////// include_once "scm.php"; +date_default_timezone_set('America/Los_Angeles'); + $base = $_SERVER['DOCUMENT_ROOT']; function menu_css () { @@ -87,7 +89,7 @@ function menu () {
@@ -299,15 +301,6 @@ function scm_man ($file) { 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",