Branch: Tag:

2000-12-05

2000-12-05 00:24:25 by Martin Nilsson <mani@lysator.liu.se>

Added query_absolute_internal_location which returns an absolute path to the internal location.

Rev: server/base_server/module.pike:1.101

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>
193:    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;