Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.322 2000/07/15 01:05:42 lange Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.323 2000/07/15 02:27:41 lange Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:19:   mapping profile_map = ([]);   #endif      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // Locale support...   //<locale-token project="config_interface">LOCALE</locale-token>   #define LOCALE(X,Y) _STR_LOCALE("config_interface",X,Y)   USE_DEFERRED_LOCALE;   #define DLOCALE(X,Y) _DEF_LOCALE("config_interface",X,Y) + #define CALL(X,Y) _LOCALE_FUN("config_interface",X,Y)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG   #define THROTTLING_DEBUG(X) werror("Throttling: "+X+"\n")   #else   #define THROTTLING_DEBUG(X)   #endif      #ifdef REQUEST_DEBUG   # define REQUEST_WERR(X) werror("CONFIG: "+X+"\n")
Roxen.git/server/base_server/configuration.pike:732:    (((float)misc->ftp_users*(float)60.0)/dt), LOCALE("p","min"),    LOCALE("s","FTP users (now)"), misc->ftp_users_now);    }    res += "</table></p>\n\n";       if ((extra_statistics->ftp) && (extra_statistics->ftp->commands)) {    // FTP statistics.    res += "<b>"+LOCALE("t", "FTP statistics") + ":</b><br />\n"    "<ul><table>\n";    foreach(sort(indices(extra_statistics->ftp->commands)), string cmd) { -  res += roxen.locale->get()-> -  config_interface("ftp_stat_line", -  upper_case(cmd), -  extra_statistics->ftp->commands[cmd]); +  res += CALL("ftp_stat_line", "eng") +  (upper_case(cmd), extra_statistics->ftp->commands[cmd]);    }    res += "</table></ul>\n";    }       return res;   }      public array(string) userinfo(string u, RequestID|void id)   {    if(auth_module) return auth_module->userinfo(u);