Roxen.git/
server/
base_server/
module.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-17
1999-11-17 23:23:48 by Per Hedbor <ph@opera.com>
00730e9234673c960cb9c9bc8f4e5c5b257c0ebe (
9
lines) (+
6
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Better file_name_and_stuff formatting
Rev: server/base_server/module.pike:1.54
1:
-
/* $Id: module.pike,v 1.
53
1999/11/17
15
:
14
:
32
per Exp $ */
+
/* $Id: module.pike,v 1.
54
1999/11/17
23
:
23
:
48
per Exp $ */
#include <module.h> #include <request_trace.h>
32:
{ from = replace(from, ({ "$", "Id: "," Exp $" }), ({"","",""})); sscanf(from, "%*s,v %s", from);
-
return from;
+
return
replace(
from
,"/","-")
;
} int module_dependencies(object configuration,
49:
string file_name_and_stuff() { return ("<b>Loaded from:</b> "+(roxen->filename(this))+"<br>"+
-
(this->cvs_version?"<b>CVS Version: </b>"
+fix
_cvs(this->cvs_version)+"
<nr>
\n":""));
+
(this->cvs_version?
+
"<b>CVS Version: </b>"
+
+
fix
_cvs(this->cvs_version)+"\n":""));
} static private object _my_configuration;