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 - 2009, Roxen IS. - // $Id: module.pike,v 1.242 2010/03/31 13:47:11 marty Exp $ + // $Id: module.pike,v 1.243 2010/04/27 15:33:49 mast Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;   
Roxen.git/server/base_server/module.pike:251:   {    my_configuration()->save_one( this_object() );    my_configuration()->module_changed( my_moduleinfo(), this_object() );   }      void save() { save_me(); }   string comment() { return ""; }      string query_internal_location()   //! Returns the internal mountpoint, where <ref>find_internal()</ref> - //! is mounted. + //! is mounted. It always ends with a '/'.   {    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. + //! Returns the internal mountpoint as an absolute path. It always + //! ends with a '/'.   {    return (id->misc->site_prefix_path || "") + query_internal_location();   }      string query_location()   //! Returns the mountpoint as an absolute path. The default   //! implementation uses the "location" configuration variable in the   //! module.   {    string s;