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. - constant cvs_version = "$Id: configuration.pike,v 1.392 2000/11/08 22:55:15 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.393 2000/11/13 04:16:36 nilsson Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>         #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:1009: Inside #if undefined(NO_INTERNAL_HACK) and #if defined(OLD_RXML_COMPAT)
   if(sizeof(file) > 17 &&   #ifdef OLD_RXML_COMPAT    (file[0] == '/') &&    sscanf(file, "%*s/internal-%s-%[^/]", type, loc) == 3   #else    sscanf(file, "/internal-%s-%[^/]", type, loc) == 2   #endif    ) {    switch(type) {    case "roxen": -  TRACE_LEAVE("Magic internal gopher image"); +  TRACE_LEAVE("Magic internal roxen image"); +  if(loc=="unit") +  return (["data":"GIF89a\1\0\1\0\200ÿ\0ÀÀÀ\0\0\0!ù\4\1\0\0\0\0,\0\0\0\0\1\0\1\0\0\1\1""2\0;", +  "type":"image/gif" ]);    return internal_roxen_image(loc, id);       case "gopher": -  TRACE_LEAVE("Magic internal roxen image"); +  TRACE_LEAVE("Magic internal gopher image");    return internal_gopher_image(loc);    }    }   #endif       // Locate internal location resources.    if(!search(file, QUERY(InternalLoc)))    {    TRACE_ENTER("Magic internal module location", 0);    RoxenModule module;