Roxen.git/
server/
config_interface/
actions/
debug_summary.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2002-06-11
2002-06-11 17:07:42 by Martin Nilsson <mani@lysator.liu.se>
bde9e379403edf18092d10e85e32683c134d7af2 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
Aphoto_2.0_beta3
Added Pike version.
Rev: server/config_interface/actions/debug_summary.pike:1.7
1:
/*
-
* $Id: debug_summary.pike,v 1.
6
2002/06/
05
20
:
16
:
40
nilsson Exp $
+
* $Id: debug_summary.pike,v 1.
7
2002/06/
11
17
:
07
:
42
nilsson Exp $
*/ #include <stat.h> #include <roxen.h>
75:
string make_environment_summary() { string res = make_headline("Environment");
+
res+=sprintf(" %-30s %s\n", "Pike:", version());
res+=sprintf(" %-30s %s\n", "Version:", roxen_version()); res+=sprintf(" %-30s %s", "Time:", ctime(time())); res+=sprintf(" %-30s %s\n", "Host:", gethostname());