projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug where names could not contain characters such as "-". Also
[clearscm.git]
/
web
/
php
/
clearscm.php
diff --git
a/web/php/clearscm.php
b/web/php/clearscm.php
index
d59f2e7
..
0f6a6c8
100644
(file)
--- a/
web/php/clearscm.php
+++ b/
web/php/clearscm.php
@@
-14,6
+14,8
@@
////////////////////////////////////////////////////////////////////////////////
include_once "scm.php";
////////////////////////////////////////////////////////////////////////////////
include_once "scm.php";
+date_default_timezone_set('America/Los_Angeles');
+
$base = $_SERVER['DOCUMENT_ROOT'];
function menu_css () {
$base = $_SERVER['DOCUMENT_ROOT'];
function menu_css () {
@@
-67,7
+69,7
@@
function menu () {
<li><a href="/clearcase/triggers.php">Triggers</a></li>
<li><a href="/php/scm_man.php?file=cc/etf.pl">Evil Twin Finder</a></li>
<li><a href="/php/scm_man.php?file=cc/diffbl.pl">GUI DiffBL</a></li>
<li><a href="/clearcase/triggers.php">Triggers</a></li>
<li><a href="/php/scm_man.php?file=cc/etf.pl">Evil Twin Finder</a></li>
<li><a href="/php/scm_man.php?file=cc/diffbl.pl">GUI DiffBL</a></li>
- <li><a href="/php/scm_man.php?file=c
c
/viewager.cgi">View Ager</a></li>
+ <li><a href="/php/scm_man.php?file=c
learadm
/viewager.cgi">View Ager</a></li>
<li><a href="/clearcase/OpenSourceBuild.php/">Open Source Builds</a></li>
</ul>
</div>
<li><a href="/clearcase/OpenSourceBuild.php/">Open Source Builds</a></li>
</ul>
</div>
@@
-261,10
+263,7
@@
function display_contents_as_snippet ($contents) {
print "</div>";
} // display_contents_as_snippet
print "</div>";
} // 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
display_contents_as_code (getSCMFile ($file));
} # display_code