Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.100 2000/11/02 08:48:50 per Exp $ + // $Id: module.pike,v 1.101 2000/12/05 00:24:25 nilsson Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);      constant is_module = 1;   constant module_type = MODULE_ZERO;
Roxen.git/server/base_server/module.pike:186:      string query_internal_location()   //! Returns the internal mountpoint, where <ref>find_internal()</ref>   //! is mounted.   {    if(!_my_configuration)    error("Please do not call this function from create()!\n");    return _my_configuration->query_internal_location(this_object());   }    + string query_absolute_internal_location(RequestID id) + //! Returns the internal mountpoint as an absolute path. + { +  return (id->misc->site_prefix_path || "") + query_internal_location(); + } +    string query_location()   {    string s;    catch{s = query("location");};    return s;   }      array(string) location_urls()   //! Returns an array of all locations where the module is mounted.   {