Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: global_variables.pike,v 1.46 2000/09/19 12:55:09 per Exp $ + // $Id: global_variables.pike,v 1.47 2000/11/17 23:19:05 nilsson Exp $      /*   #pragma strict_types   */   #define DEFVAR string,int|string,string|mapping,int,string|mapping(string:string),void|array(string),void|function:void   #define BDEFVAR string,int|string,string|mapping,int,string|mapping(string:string),void|array(string),void|mapping(string:mapping(string:string)):void      #include <module.h>   #include <roxen.h>   #include <config.h>
Roxen.git/server/base_server/global_variables.pike:412:       // FIXME: Should mention getcwd()    defvar("ModuleDirs", ({ "../local/modules/", "modules/" }),    LOCALE(132, "Module directories"),    TYPE_DIR_LIST,    LOCALE(133, "This is a list of directories where Roxen should look "    "for modules. Can be relative paths, from the "    "directory you started Roxen. "    "The directories are searched in order for modules."));    -  defvar("Supports", "#include <etc/supports>\n", -  LOCALE(134, "Client supports regexps"), -  TYPE_TEXT_FIELD|VAR_MORE, +  defvar("Supports", +  Variable.Text( "#include <etc/supports>\n", +  VAR_MORE, LOCALE(134, "Client supports regexps"),    LOCALE(135, "What do the different clients support?\n<br />"    "The default information is normally fetched from the file " -  "server/etc/supports in your Roxen directory.")); +  "server/etc/supports in your Roxen directory.") ) ) +  -> add_changed_callback( lambda(Variable.Text s) { +  roxenp()->initiate_supports(); +  cache.cache_expire("supports"); +  } );       defvar("audit", 0, LOCALE(136, "Logging: Audit trail"),    TYPE_FLAG,    LOCALE(137, "If Audit trail is set to Yes, all changes of uid will be "    "logged in the Event log."));      #if efun(syslog)    defvar("LogA", "file", LOCALE(138, "Logging: Debug log method"),    TYPE_STRING_LIST|VAR_MORE,    LOCALE(139, "What method to use for the debug log, default is file, "