Hi,

in sub new() in Kernel::Config::Defaults (around line 2077), glob() is used:

my @Files = glob("$Self->{Home}/Kernel/Config/Files/*.pm");

At least on FreeBSD 6.3 w/ Perl 5.8.8, glob() does not always return a
sorted array. So I suggest the usage of sort:

my @Files = sort glob("$Self->{Home}/Kernel/Config/Files/*.pm");

Background: I wrote some modules, which come along with their own config
files. These have to override some values that are loaded by ZZZAAuto.pm.

Felix


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to