Branch: Tag:

2001-01-30

2001-01-30 04:51:05 by Per Hedbor <ph@opera.com>

Do not include the configuration name in sname, it's used in other places that does not apreciate the extra cruft.

Rev: server/base_server/module.pike:1.107

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: module.pike,v 1.106 2001/01/29 09:04:22 per Exp $ + // $Id: module.pike,v 1.107 2001/01/30 04:51:05 per Exp $      #include <module_constants.h>   #include <module.h>
162:      string sname( )   { -  return (my_configuration()->name+"_"+ -  my_configuration()->otomod[ this_object() ]); +  return my_configuration()->otomod[ this_object() ];   }      ModuleInfo my_moduleinfo( )
545:      string get_my_table( string defenition )   { -  string res = replace(sname(),"#","_"); +  string res = _my_configuration->name+"_"+replace(sname(),"#","_");    Sql.Sql sql = get_my_sql();    if( !sql )    {