Roxen.git/
server/
base_server/
configuration.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-03-06
2000-03-06 18:57:11 by Martin Nilsson <mani@lysator.liu.se>
f28c119584b614c0191907c09cd255ff4cc2d265 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Stricter type
Rev: server/base_server/configuration.pike:1.269
3:
// // German translation by Kai Voigt
-
constant cvs_version = "$Id: configuration.pike,v 1.
268
2000/03/06
14
:
44
:
09
peter
Exp $";
+
constant cvs_version = "$Id: configuration.pike,v 1.
269
2000/03/06
18
:
57
:
11
nilsson
Exp $";
constant is_configuration = 1; #include <module.h> #include <roxen.h>
222:
public string type_from_filename( string file, int|void to, string|void myext ) {
-
mixed
tmp;
+
array(string)|string
tmp;
if(!types_fun) return to?({ "application/octet-stream", 0 }):"application/octet-stream";