X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=web%2Fphp%2Fclearscm.php;h=aef2a4b4b8707818f05dc8460f6bad0a02acb12a;hb=ed997c2502b6a3c2a7892bc5b9021d56601da607;hp=f3c01edfdb3562de1cdf7565676909ec8d4e5834;hpb=06bed1332b6093b91fdf28be734dd4840d0f6a7f;p=clearscm.git diff --git a/web/php/clearscm.php b/web/php/clearscm.php index f3c01ed..aef2a4b 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 () {
@@ -261,10 +263,7 @@ function display_contents_as_snippet ($contents) { print ""; } // display_contents_as_snippet -function display_code ($file, - $machine = "clearscm.com", - $port = ":8080", - $path = "/viewvc/clearscm.com/") { +function display_code ($file) { display_contents_as_code (getSCMFile ($file)); } # display_code