Branch: Tag:

1999-11-05

1999-11-05 07:17:06 by Per Hedbor <ph@opera.com>

Ok, now the configuration interface works.

Rev: server/base_server/configuration.pike:1.217
Rev: server/base_server/module.pike:1.51
Rev: server/base_server/module_support.pike:1.32
Rev: server/base_server/roxen.pike:1.344
Rev: server/config_interface/standard/index.html:1.4
Rev: server/config_interface/standard/sites/add_module.inc:1.2
Rev: server/config_interface/standard/sites/create_site.pike:1.2
Rev: server/config_interface/standard/sites/global_module_page.inc:1.2
Rev: server/etc/include/module.h:1.25
Rev: server/modules/configuration/config_tags.pike:1.12

3:    * (C) 1996, 1999 Idonex AB.    */    - constant cvs_version = "$Id: configuration.pike,v 1.216 1999/11/02 01:37:21 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.217 1999/11/05 07:17:04 per Exp $";   #include <module.h>   #include <roxen.h>   #include <request_trace.h>
2144:      // Save this configuration. If all is included, save all configuration   // global variables as well, otherwise only all module variables. + void save_me() + { +  save_one( 0 ); + } +    void save(int|void all)   {    mapping mod;
2201:    mixed err;    int module_type;    -  sscanf(modname, "%s#%d", modname, id ); +  if( sscanf(modname, "%s#%d", modname, id ) != 2 ) +  /* here we go again... */ +  while( modules[modname] && modules[modname]->copies[id++] );      #if constant(gethrtime)    int start_time = gethrtime();