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.441 2001/06/24 03:51:31 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.442 2001/06/26 09:41:06 per 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:628:    first_module_cache += ({ p->first_try });    }    }    }    }    }       return first_module_cache;   }    + void set_userdb_module_cache( array to ) + // Used by the config_filesystem.pike module to enforce the usage of + // the config userdb module, for now. + { +  userdb_module_cache = to; + } +    array(UserDB) user_databases()   {    if( userdb_module_cache )    return userdb_module_cache;    array tmp = ({});    foreach( values( modules ), mapping m )    foreach( values(m->copies), RoxenModule mo )    if( mo->module_type & MODULE_USERDB )    tmp += ({ ({ mo->query( "_priority" ), mo }) });