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.328 2000/07/26 16:31:54 jhs Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.329 2000/07/31 00:55:31 nilsson Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:1454:    }       if(objectp(fid))    {    if(stringp(id->extension)) {    id->not_query += id->extension;    loc = Roxen.extension(id->not_query, id);    }    TRACE_ENTER("Content-type mapping module", types_module);    tmp=type_from_filename(id->not_query, 1, loc); -  TRACE_LEAVE(tmp?sprintf("Returned type %s %s.", tmp[0], tmp[1]) +  TRACE_LEAVE(tmp?sprintf("Returned type %s %s.", tmp[0], tmp[1]||"")    : "Missing type.");    if(tmp)    {    TRACE_LEAVE("");    return ([ "file":fid, "type":tmp[0], "encoding":tmp[1] ]);    }    TRACE_LEAVE("");    return ([ "file":fid, ]);    }    if(!fid)