Branch: Tag:

2000-11-13

2000-11-13 09:57:05 by Per Hedbor <ph@opera.com>

Fixed [Bug 689 (#689)]

Rev: server/base_server/configuration.pike:1.394
Rev: server/base_server/module_support.pike:1.78
Rev: server/base_server/roxenloader.pike:1.213
Rev: server/config_interface/standard/inheritinfo.pike:1.14
Rev: server/config_interface/standard/sites/site_content.pike:1.97
Rev: server/etc/roxen_master.pike:1.107

1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS. - constant cvs_version = "$Id: configuration.pike,v 1.393 2000/11/13 04:16:36 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.394 2000/11/13 09:57:04 per Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
2054:    ModuleInfo mi = roxen.find_module( (modname/"#")[0] );    if( !old_module ) return 0;    -  save_one( old_module ); +  master()->clear_compilation_failures();    -  +  if( !old_module->fake ) +  { +  save_one( old_module );    master()->refresh_inherit( object_program( old_module ) );    master()->refresh( object_program( old_module ), 1 ); -  +  }       catch( disable_module( modname, 1 ) );   
2070:    foreach ((array) old_module->error_log, [string msg, array(int) times])    nm->error_log[msg] += times;    +  ModuleInfo mi = roxen.find_module( (modname/"#")[0] );    catch( mi->update_with( nm,0 ) ); // This is sort of nessesary...       nm->report_notice(LOC_C(11, "Reloaded %s.")+"\n", mi->get_name());