@EXPORT = qw(read_config);
-use Data::Dumper;
-
# read_config()
#
# Read the configuration files of Dev-Editor
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->{'hide_dot_files'} = $new_conf->{'hide_dot_files'} if(defined $new_conf->{'hide_dot_files'});
- $config->{'user_config'} = 1;
+ $config->{'user_config'} = 1;
}
}