Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:10:   int cache_disabled_p() { return !QUERY(cache); }   int syslog_disabled() { return QUERY(LogA)!="syslog"; }   private int ident_disabled_p() { return QUERY(default_ident); }      string docurl;      void define_global_variables( int argc, array (string) argv )   {    int p;    +     globvar("set_cookie", 0, "Set unique user id cookies", TYPE_FLAG,    #"If set to Yes, all users of your server whose clients support   cookies will get a unique 'user-id-cookie', this can then be   used in the log and in scripts to track individual users.");       deflocaledoc( "svenska", "set_cookie",    "Sätt en unik cookie för alla användare",    #"Om du sätter den här variabeln till 'ja', så kommer   alla användare att få en unik kaka (cookie) med namnet 'RoxenUserID' satt. Den   här kakan kan användas i skript för att spåra individuella användare. Det är
Roxen.git/server/base_server/global_variables.pike:245:    "Documentation URL", TYPE_STRING|VAR_MORE|VAR_EXPERT,    "The URL to prepend to all documentation urls throughout the "    "server. This URL should _not_ end with a '/'.");    deflocaledoc("svenska", "docurl2", "DokumentationsURL",    "DokumentationsURLen används för att få kontextkänslig hjälp");       globvar("pidfile", "/tmp/roxen_pid_$uid", "PID file",    TYPE_FILE|VAR_MORE,    "In this file, the server will write out it's PID, and the PID "    "of the start script. $pid will be replaced with the pid, and " -  "$uid with the uid of the user running the process."); +  "$uid with the uid of the user running the process.\n" +  "<p>Note: It will be overridden by the command line option.");    deflocaledoc("svenska", "pidfile", "ProcessIDfil",    "I den här filen sparas roxen processid och processidt "    "for roxens start-skript. $uid byts ut mot användaridt för "    "den användare som kör roxen");       globvar("default_ident", 1, "Identify: Use default identification string",    TYPE_FLAG|VAR_MORE,    "Setting this variable to No will display the \"Identify as\" node "    "where you can state what Roxen should call itself when talking "    "to clients, otherwise it will present it self as \""+ real_version
Roxen.git/server/base_server/global_variables.pike:669:    globvar( "argument_cache_dir", "../argument_cache/",    "Argument Cache: Cache directory",    TYPE_DIR|VAR_MORE,    "The cache directory to use to store the argument cache."    " Please note that load balancing is not available for most modules "    " (such as gtext, diagram etc) unless you use a mysql database to "    "store the argument caches",    0,    lambda(){ return QUERY(argument_cache_in_db); });    +  +  +     setvars(retrieve("Variables", 0));       for(p = 1; p < argc; p++)    {    string c, v;    if(sscanf(argv[p],"%s=%s", c, v) == 2)    {    sscanf(c, "%*[-]%s", c);    if(variables[c])    {