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.62 2001/01/29 07:50:20 per Exp $ + // $Id: global_variables.pike,v 1.63 2001/02/27 02:54:34 per Exp $      /*   #pragma strict_types   */   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   #include <module.h>   inherit "read_config";
Roxen.git/server/base_server/global_variables.pike:92:   {    function(DEFVAR) defvar = o->defvar;       function do_set_cookie(Protocol o)    {    return lambda() {    return o->query("set_cookie") == 0;    };    };    +  defvar( "minimum_bitrate", 0, LOCALE(0, "Minumum allowed bitrate" ), +  TYPE_INT, +  LOCALE(0, "The minimum allowed bitrate, in Kbits/second. If the " +  "client is slower than this set bitrate, it will be " +  "disconnected (after a timeout). Setting this higher than " +  "14 is not recommended if you have modem users.")); +     defvar("show_internals", 1, LOCALE(72, "Show internal errors"),    TYPE_FLAG,    LOCALE(73, "Show 'Internal server error' messages to the user. "    "This is very useful if you are debugging your own modules "    "or writing Pike scripts."));       if(!fhttp)    {    defvar("set_cookie", 0, LOCALE(74, "Logging: Set unique user id cookies"),    TYPE_FLAG,