[Rt-commit] r14981 - rt/3.8/trunk/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Sun Aug 10 08:34:54 EDT 2008


Author: ruz
Date: Sun Aug 10 08:34:54 2008
New Revision: 14981

Modified:
   rt/3.8/trunk/lib/RT/Config.pm

Log:
* load main config first and only then get other configs

Modified: rt/3.8/trunk/lib/RT/Config.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Config.pm	(original)
+++ rt/3.8/trunk/lib/RT/Config.pm	Sun Aug 10 08:34:54 2008
@@ -340,6 +340,10 @@
 
 sub LoadConfigs {
     my $self    = shift;
+
+    $self->InitConfig( File => 'RT_Config.pm' );
+    $self->LoadConfig( File => 'RT_Config.pm' );
+
     my @configs = $self->Configs;
     $self->InitConfig( File => $_ ) foreach @configs;
     $self->LoadConfig( File => $_ ) foreach @configs;


More information about the Rt-commit mailing list