Branch: Tag:

2000-12-05

2000-12-05 00:38:57 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.102

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.101 2000/11/20 13:36:33 per Exp $ + // $Id: module.pike,v 1.102 2000/12/05 00:38:57 nilsson Exp $      #include <module_constants.h>   #include <module.h>
194:    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;