#
# Please don't use quotation marks around the keys and values!
-fileroot = D:/WWW/dokumente/devedit-test
-httproot = /devedit-test/
+fileroot = D:/WWW/dokumente/devedit-test
+httproot = /devedit-test/
-max_file_size = 100000
+max_file_size = 100000
-timeformat = %d.%m.%Y %H:%M
-use_gmt = 0
+timeformat = %d.%m.%Y %H:%M
+use_gmt = 0
-error_file = errors.conf
-template_file = templates.conf
+hide_dot_files = 0
+
+error_file = errors.conf
+template_file = templates.conf
# End of configuration file
\ No newline at end of file
foreach my $dir(@$dirs)
{
+ next if($config->{'hide_dot_files'} && substr($dir,0,1) eq '.');
next unless(dos_wildcard_match($filter1,$dir));
my $phys_path = $physical.'/'.$dir;
foreach my $file(@$files)
{
+ next if($config->{'hide_dot_files'} && substr($file,0,1) eq '.');
next unless(dos_wildcard_match($filter1,$file));
my $phys_path = $physical.'/'.$file;
my $new_conf = $userconf->{$ENV{'REMOTE_USER'}};
- $config->{'fileroot'} = $new_conf->{'fileroot'} if($new_conf->{'fileroot'});
- $config->{'httproot'} = $new_conf->{'httproot'} if($new_conf->{'httproot'});
+ $config->{'fileroot'} = $new_conf->{'fileroot'} if($new_conf->{'fileroot'});
+ $config->{'httproot'} = $new_conf->{'httproot'} if($new_conf->{'httproot'});
- $config->{'forbidden'} = $new_conf->{'forbidden'} if(defined $new_conf->{'forbidden'});
+ $config->{'forbidden'} = $new_conf->{'forbidden'} if(defined $new_conf->{'forbidden'});
- $config->{'user_config'} = 1;
+ $config->{'hide_dot_files'} = $new_conf->{'hide_dot_files'} if(defined $new_conf->{'hide_dot_files'});
+
+ $config->{'user_config'} = 1;
}
}