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/09/24 13:35:49 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:518: Inside #if undefined(__NT__)
   "minutes, it will be restarted. You need to find a balance: "    "if set too low, the server will be restarted even if it's doing "    "legal things (like generating many images), if set too high you might "    "get a long downtime if the server for some reason locks up."),    ({1,2,3,4,5,10,15}),    lambda() {return !QUERY(abs_engage);});   #endif       defvar("locale",    Variable.Language("Standard", ({ "Standard" }) + - #if constant(Locale.list_languages) +     Locale.list_languages("roxen_config"), - #else -  RoxenLocale.list_languages("roxen_config"), - #endif +     0, LOCALE(158, "Default language"),    LOCALE(159, "Locale, used to localize all "    "messages in Roxen. Standard means using "    "the default locale, which varies "    "according to the value of "    "the 'LANG' environment variable.")))    ->set_changed_callback( lambda(Variable.Variable s) {    roxenp()->set_default_locale(QUERY(locale));    roxenp()->set_locale();    } );