Branch: Tag:

2000-11-02

2000-11-02 08:48:50 by Per Hedbor <ph@opera.com>

Fixed [Bug 512 (#512)], changing extensions (or priority) immediately takes effect.

Rev: server/base_server/configuration.pike:1.381
Rev: server/base_server/module.pike:1.100

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.99 2000/10/06 15:13:24 mast Exp $ + // $Id: module.pike,v 1.100 2000/11/02 08:48:50 per Exp $      #include <module_constants.h>   #include <module.h>
159:    return (this_object()->register_module()[2]);   }    + ModuleInfo my_moduleinfo( ) + //! Returns the associated @ref{ModuleInfo} object + { +  string f = my_configuration()->otomod[ this_object() ]; +  if( f ) return roxen.find_module( (f/"#")[0] ); + } +    void save_me() -  + // callback from the configinterface   {    my_configuration()->save_one( this_object() ); -  +  my_configuration()->module_changed( my_moduleinfo(), this_object() );   }      void save() -  + //! Save all module variables associated with this module.   {    save_me();   }