[rt-devel] rt-2-1-78: mess with the site config
Stanislav Sinyagin
ssinyagin at yahoo.com
Mon Mar 3 08:07:32 EST 2003
Hi,
What is the reason that in rt-2-1-78 the site config is
loaded BEFORE the core config and gets overwritten?
Now all my site settings are lost...
In 2-1-76, lib/RT.pm:
sub LoadConfig {
require $CORE_CONFIG_FILE
|| die ("Couldn't load RT config file '$CORE_CONFIG_FILE'\n$@");
if ( -f "$SITE_CONFIG_FILE" ) {
require $SITE_CONFIG_FILE
|| die ("Couldn't load RT config file '$SITE_CONFIG_FILE'\n$@");
}
RT::I18N->Init;
}
In 2-1-78:
sub LoadConfig {
if ( -f "$SITE_CONFIG_FILE" ) {
require $SITE_CONFIG_FILE
|| die ("Couldn't load RT config file '$SITE_CONFIG_FILE'\n$@");
}
require $CORE_CONFIG_FILE
|| die ("Couldn't load RT config file '$CORE_CONFIG_FILE'\n$@");
RT::I18N->Init;
}
More information about the Rt-devel
mailing list