Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.111 1999/05/22 23:39:12 mast Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.112 1999/05/24 05:29:04 peter Exp $";   //inherit "roxenlib";      inherit "config/draw_things";      // import Array;   // import Stdio;      string status_row(object node);   string display_tabular_header(object node);   object get_template(string t);
Roxen.git/server/base_server/mainconfig.pike:1322:    } else if(o == root) {    // The URL is http://config-url/, not one of the top nodes, but    // _above_ them. This is supposed to be some nice introductory    // text about the configuration interface...       // We also need to determine wether this is the full or the    // lobotomized international version.       int full_version=0;    int half_version=0; -  catch { -  if (sizeof(indices(master()->resolv("_Crypto")))) { + #if constant(_Crypto) && constant(SSL)    full_version = 1; -  } -  }; -  if(full_version) +     catch {    if(!SSL.constants()->CIPHER_des) {    half_version = 1;    full_version = 0;    }    }; -  + #endif       return http_string_answer(default_head("Roxen Challenger " +    roxen->__roxen_version__ + "." +    roxen->__roxen_build__)+    status_row(root)+    display_tabular_header(root)+    Stdio.read_bytes(full_version?"etc/config.html":    (half_version?"etc/config.40bit.html":    "etc/config.int.html")),"text/html");    }