Roxen.git / server / config_interface / actions / debug_summary.pike

version» Context lines:

Roxen.git/server/config_interface/actions/debug_summary.pike:1:   /* -  * $Id: debug_summary.pike,v 1.7 2003/01/27 15:36:59 mast Exp $ +  * $Id: debug_summary.pike,v 1.8 2003/08/26 15:05:30 anders Exp $    */   #include <stat.h>   #include <roxen.h>   //<locale-token project="admin_tasks">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("admin_tasks",X,Y)      constant action = "debug_info";      LocaleString name= LOCALE(163,"Debug Summary");   LocaleString doc = LOCALE(164,
Roxen.git/server/config_interface/actions/debug_summary.pike:129:    res += make_variables_summary(c->getvars())+"\n\n";    foreach(values(c->modules), mixed modulecopies)    foreach(values(modulecopies->copies), RoxenModule module)    res += sprintf("%s%s%s\n\n",    make_headline(module->module_identifier()),    make_variables_summary(module->getvars()),    indent(make_extra_module_info(module),1));    return res;   }    + string make_global_summary() + { +  string res = make_headline("Global Variables"); +  res += make_variables_summary(roxen->getvars()); +  return res + "\n"; + } +    string make_summary()   {    string res = make_environment_summary()+"\n";      // res +=make_headline("CVS file versions");   // res +=indent(get_cvs_versions(getcwd()), 1);    -  +  res += make_global_summary(); +     foreach(roxen->list_all_configurations(), string configuration)    {    res+=make_headline("Configuration: "+configuration)+"\n";    res+=indent(make_configuration_summary(configuration),1);    }    return res;   }      mixed parse( RequestID id )   {