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.39 2000/08/17 01:16:30 per Exp $ + // $Id: global_variables.pike,v 1.40 2000/08/17 16:54:19 lange 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:500:    lambda() {return !QUERY(abs_engage);});   #endif          defvar("locale", "standard", LOCALE(158, "Default language"),    TYPE_STRING_LIST,    LOCALE(159, "Locale, used to localize all messages in Roxen.\n"    "Standard means using the default locale, which varies "    "according to the value of the 'LANG' environment variable."),   #if constant(Locale.list_languages) -  sort(Locale.list_languages("roxen_config")+({"standard"})) + #define LANGLIST Locale.list_languages("roxen_config")   #else -  sort(RoxenLocale.list_languages("roxen_config")+({"standard"})) + #define LANGLIST RoxenLocale.list_languages("roxen_config")   #endif -  +  mkmapping(LANGLIST, map(LANGLIST, + #if constant(Standards.ISO639_2) +  Standards.ISO639_2.get_language, + #else +  RoxenLocale.ISO639_2.get_language, + #endif +  )) + (["standard":"Standard"]) + #undef LANGLIST    );    -  +     defvar("suicide_engage", 0,    LOCALE(160, "Auto Restart: Enable Automatic Restart"),    TYPE_FLAG|VAR_MORE,    LOCALE(161, "If set, Roxen will automatically restart after a "    "configurable number of days. Since Roxen uses a monolith, "    "non-forking server model the process tends to grow in size "    "over time. This is mainly due to heap fragmentation but also "    "because of memory leaks.")    );