fixed: loadAllConfigs loads hidden files
This commit is contained in:
parent
050128f313
commit
7f41c2d4c2
2 changed files with 7 additions and 3 deletions
|
|
@ -4,6 +4,7 @@
|
|||
- fixed: exporting as HTML leaks sessions for inaccessible assets,
|
||||
- new YUI based date picker
|
||||
- fixed: changing image thumbnail size doesn't resize image
|
||||
- fixed: loadAddConfigs loads hidden files
|
||||
|
||||
7.5.5
|
||||
- fixed: Several typos in the new Calendar help documentation.
|
||||
|
|
|
|||
|
|
@ -186,9 +186,12 @@ sub readAllConfigs {
|
|||
closedir(DIR);
|
||||
my %configs;
|
||||
foreach my $file (@files) {
|
||||
if ($file =~ /\.conf$/ && !($file =~ /^log\.conf$/) && !($file =~ /^spectre\.conf$/)) {
|
||||
$configs{$file} = WebGUI::Config->new($webguiPath,$file);
|
||||
}
|
||||
next
|
||||
if $file !~ /\.conf$/
|
||||
|| $file =~ /^\./
|
||||
|| $file eq 'log.conf'
|
||||
|| $file eq 'spectre.conf';
|
||||
$configs{$file} = WebGUI::Config->new($webguiPath,$file);
|
||||
}
|
||||
return \%configs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue