Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.461 2001/08/13 18:19:35 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.462 2001/08/14 01:47:16 hop Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:2308:    if( !datacache )    datacache = DataCache( );    else    datacache->init_from_variables();       parse_log_formats();    init_log_file();    do_not_log_patterns = query("NoLog");    if(!sizeof(do_not_log_patterns))    do_not_log_patterns = 0; +  + #ifdef SNMP_AGENT +  if(query("snmp_process") && objectp(roxen->snmpagent)) +  roxen->snmpagent->add_virtserv(get_config_id()); + #endif +    }      void save_me()   {    save_one( 0 );   }      void save(int|void all)   //! Save this configuration. If all is included, save all configuration   //! global variables as well, otherwise only all module variables.