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

version» Context lines:

Roxen.git/server/config_interface/actions/fsgarb.pike:197: Inside #if constant(roxen.register_fsgarb)
   foreach (garbs, object/*(roxen.FSGarb)*/ g) {    RoxenModule mod = Roxen.get_module(g->modid);    Configuration conf = mod && mod->my_configuration();    garb_sort_keys += ({ (conf ? conf->name : "") + "|" +    (mod ? Roxen.get_modfullname(mod) : g->modid) + "|" +    g->root });    }    sort(garb_sort_keys, garbs);       int size_unit = 1024; -  string res = ""; +  string res = "<h2>Filesystem Garbage Collector Status</h2>\n\n";    - #ifdef DISABLE_FSGARB -  res = "<p><font color='&usr.warncolor;'><img src='&usr.err-2;' />&nbsp;<b>" + + #ifndef DISABLE_FSGARB +  if (roxen.getvar("fsgc_starttime")->get_next(0) < 0) + #endif +  { +  res += "<p><font color='&usr.warncolor;'><img src='&usr.err-2;' />" +  "&nbsp;<b>" +    LOCALE(0, "The filesystem garbage collector is disabled.") +    "</b></font></p>\n\n"; - #endif +  }       string modid;    foreach(garbs, object/*(roxen.FSGarb)*/ g) {       // werror("FSGARG DEBUG object g: %O\n", g);       if (g->modid != modid) {    if (modid) {    res +=    " </table>\n"