Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:1110: Inside #if defined(ENABLE_OUTGOING_PROXY)
   LOCALE(1055, "The URL of the proxy to use for outgoing requests."));       defvar("proxy_username", "",    LOCALE(1056, "Proxy: Proxy username"), TYPE_STRING,    LOCALE(1057, "Username for proxy authorization."));       defvar("proxy_password", "",    LOCALE(1058, "Proxy: Proxy password"), TYPE_STRING,    LOCALE(1059, "Password for proxy authorization."));   #endif +  +  defvar("auto_fetch_rxps", 0, +  LOCALE(0, "Auto Patching: Automatically import patches"), +  TYPE_FLAG, +  LOCALE(0, "Automatically fetch and import patches to the server " +  "from www.roxen.com."));   }         void restore_global_variables()   {    mapping m = retrieve("Variables", 0);    setvars(retrieve("Variables", 0));    if( !m->argcache_secret ) save();    old_module_dirs = query( "ModuleDirs" );    getvar( "ModuleDirs" )->add_changed_callback( zap_all_module_caches );