Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen Webserver. // Copyright © 1996 - 2000, Roxen IS.
-
// $Id: module.pike,v 1.
88
2000/03/
21
04
:
35
:
41
mast
Exp $
+
// $Id: module.pike,v 1.
89
2000/03/
28
20
:
58
:
42
jhs
Exp $
#include <module_constants.h> #include <module.h> #include <request_trace.h> mapping (string:array) variables=([]); RoxenModule this = this_object(); mapping(string:array(int)) error_log=([]); constant is_module = 1;
Roxen.git/server/base_server/module.pike:326:
{ my_configuration()->save_one( this_object() ); } void save() { save_me(); } // Convenience function, define an invisible variable, this variable
-
// will be saved, but it won't be visible in the
configuration
interface.
+
// will be saved, but it won't be visible in the
administration
interface.
void definvisvar(string name, int value, int type, array|void misc) { defvar(name, value, "", type, "", misc, 1); } string check_variable( string s, mixed value ) { // Check if `value' is O.K. to store in the variable `s'. If so, // return 0, otherwise return a string, describing the error.