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 - 2004, Roxen IS. - // $Id: global_variables.pike,v 1.96 2005/09/30 11:21:35 anders Exp $ + // $Id: global_variables.pike,v 1.97 2005/12/21 13:40:03 noring Exp $      // #pragma strict_types   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   #include <module.h>   inherit "read_config";   inherit "basic_defvar";   #include <version.h>
Roxen.git/server/base_server/global_variables.pike:255:    "will log it as if the entire 1000 bytes were downloaded. "    "<p>This is useful if you want to know if downloads were successful "    "(the user has the complete file downloaded). The drawback is that "    "bandwidth statistics on the log file will be incorrect. The "    "statistics in Roxen will still be correct.</p>"));       defvar("default_font", "roxen builtin", LOCALE(92, "Default font"),    TYPE_FONT,    LOCALE(93, "The default font to use when modules request a font."));    -  defvar("font_dirs", ({"../local/fonts/", "nfonts/" })+ +  defvar("font_dirs", ({ combine_path(getenv("LOCALDIR") || "../local", "fonts/"), +  "nfonts/" })+   #ifdef __NT__    ({combine_path(replace(getenv("SystemRoot"),"\\","/"),"fonts/")})   #else    ((getenv("RX_FONTPATH")||"")/","-({""}))   #endif    , LOCALE(94, "Font directories"),    TYPE_DIR_LIST,    LOCALE(95, "This is where the fonts are located."));       defvar("font_oversampling", 1, LOCALE(521, "Font oversampling"),    TYPE_FLAG,    LOCALE(522, "If set to Yes, fonts will be oversampled resulting "    "in higher quality but more fuzz. This will require clearing "    "of various graphics caches like the Graphic text and "    "GButton caches to take full effect."));    -  defvar("logdirprefix", "../logs/", +  defvar("logdirprefix", getenv("LOGDIR") || "../logs/",    LOCALE(96, "Logging: Log directory prefix"),    TYPE_STRING|VAR_MORE,    LOCALE(97, "This is the default file path that will be prepended "    "to the log file path in all the default modules and the "    "site."));       defvar("cache", 0, LOCALE(98, "Cache: Proxy Disk Cache Enabled"),    TYPE_FLAG,    LOCALE(99, "If set to Yes, caching will be enabled."));   
Roxen.git/server/base_server/global_variables.pike:421:   Roxen process no longer can read files it previously has written.   The start script attempts to fix this for the standard file locations.</p>"));       defvar("permanent_uid", 0, LOCALE(130, "Change uid and gid permanently"),    TYPE_FLAG,    LOCALE(131, "If this variable is set, Roxen will set it's uid and gid "    "permanently. This disables the 'exec script as user' features "    "for CGI, and also 'access files as user' in the filesystems, but "    "it gives better security."));    -  defvar("ModuleDirs", ({ "../local/modules/", "modules/" }), +  defvar("ModuleDirs", ({ combine_path(getenv("LOCALDIR") || "../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",    Variable.Text( "#include <etc/supports>\n",    VAR_MORE, LOCALE(134, "Client supports regexps"),