Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.496 2002/03/06 09:27:49 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.497 2002/03/25 13:25:17 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.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:1305:   #endif    ) {    switch(type) {    case "roxen":    TRACE_LEAVE("Magic internal roxen image");    if(loc=="unit" || loc=="pixel-of-destiny")    {    TIMER_END(internal_magic);    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" ]); +  "type":"image/gif", +  "stat": ({0, 0, 0, 900000000, 0, 0, 0})]);    }    if(has_prefix(loc, "pixel-"))    {    TIMER_END(internal_magic);    return (["data":sprintf("GIF89a\1\0\1\0\200\0\0\0\0\0%c%c%c,\0\0\0"    "\0\1\0\1\0\0\2\2L\1\0;",    @parse_color(loc[6..])), -  "type":"image/gif" ]); +  "type":"image/gif", +  "stat": ({0, 0, 0, 900000000, 0, 0, 0})]);    }    TIMER_END(internal_magic);    return internal_roxen_image(loc, id);       case "gopher":    TRACE_LEAVE("Magic internal gopher image");    TIMER_END(internal_magic);    return internal_gopher_image(loc);    }    }