Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1077 2011/01/20 14:01:02 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1078 2011/01/20 17:23:46 mast Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:5639:       configuration_dir =    Getopt.find_option(argv, "d",({"config-dir","configuration-directory" }),    ({ "ROXEN_CONFIGDIR", "CONFIGURATIONS" }), "../configurations");       if(configuration_dir[-1] != '/')    configuration_dir += "/";       restore_global_variables(); // restore settings...    - #ifdef NEW_RAM_CACHE +     cache.set_total_size_limit (query ("mem_cache_size") * 1024 * 1024); - #endif +        if( query("replicate" ) )    {    report_notice( "Enabling replication support\n");    add_constant( "WS_REPLICATE", 1 );    // Dumping of arg_cache_plugins generates problem when trying to    // enable/disable argcache replication.    // call_out( lambda() {    // dump("arg_cache_plugins/replicate.pike");    // }, 2 );