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

version» Context lines:

Roxen.git/server/config_interface/actions/debug_summary.pike:192:    if (st && st->isreg)    res = Stdio.read_file(debuglog);    mapping ret = Roxen.http_string_answer(res, "application/octet-stream");    ret["extra_heads"] = ([]);    Roxen.add_http_header(ret["extra_heads"], "Content-Disposition",    "attachment; filename="+((debuglog/"/")[-1]));    return ret;    }       res = "<font size='+1'><b>"+LOCALE(163,"Debug summary")+"</b></font>\n<p />"; -  res += "<link-gbutton href='debug_summary.pike?download=summary'>"+LOCALE(41,"Download")+ +  res += "<link-gbutton href='debug_summary.pike?download=summary&amp;&usr.set-wiz-id;'>"+LOCALE(41,"Download")+    "</link-gbutton>";    if (file_stat(debuglog)) -  res += "<link-gbutton href='debug_summary.pike?download=debuglog'>"+ +  res += "<link-gbutton href='debug_summary.pike?download=debuglog&amp;&usr.set-wiz-id;'>"+    LOCALE(153,"Download Debug Log")+    "</link-gbutton>";       res += "<pre>"+Roxen.html_encode_string(make_summary())+"</pre>"    "<br /><br />"    "<cf-ok/>";       return res;   }