Branch: Tag:

1999-11-10

1999-11-10 04:54:04 by Per Hedbor <ph@opera.com>

Now find_module actually works (I think) and save_one should work as well

Rev: server/base_server/configuration.pike:1.220
Rev: server/base_server/module.pike:1.52

1: - /* $Id: module.pike,v 1.51 1999/11/05 07:17:05 per Exp $ */ + /* $Id: module.pike,v 1.52 1999/11/10 04:54:04 per Exp $ */   #include <module.h>   #include <request_trace.h>   
310:    locs[locale]( this_object(), variable, name, doc, translate );   }    - void save() + void save_me()   {    my_configuration()->save_one( this_object() );   }    -  + void save() + { +  save_me(); + } +    // Convenience function, define an invisible variable, this variable   // will be saved, but it won't be visible in the configuration interface.   void definvisvar(string name, int value, int type, array|void misc)