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 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.617 2006/09/15 12:06:42 wellhard Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.618 2006/09/18 16:18:34 mast 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:3824:   #endif   }      #if ROXEN_COMPAT < 2.2   // BEGIN SQL      mapping(string:string) sql_urls = ([]);      constant sql_cache_get = DBManager.sql_cache_get;    - Sql.Sql sql_connect(string db) + Sql.Sql sql_connect(string db, void|string charset)   {    if (sql_urls[db]) -  return sql_cache_get(sql_urls[db]); +  return sql_cache_get(sql_urls[db], 0, charset);    else -  return sql_cache_get(db); +  return sql_cache_get(db, 0, charset);   }      // END SQL   #endif      static string my_url;      void fix_my_url()   {    my_url = query ("MyWorldLocation");