mirror of
https://github.com/webmin/webmin.git
synced 2026-09-22 13:30:43 +01:00
Call correct function to check file paths
This commit is contained in:
@@ -35,6 +35,7 @@ if (defined($in{'virt'})) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
&allowed_auth_file($in{'file'}) || &error($text{'htindex_ecannot'});
|
||||
if (defined($in{'idx'})) {
|
||||
# files within .htaccess file
|
||||
$hconf = &get_htaccess_config($in{'file'});
|
||||
|
||||
@@ -34,6 +34,7 @@ if (defined($in{'virt'})) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
&allowed_auth_file($in{'file'}) || &error($text{'htindex_ecannot'});
|
||||
if (defined($in{'idx'})) {
|
||||
# files within .htaccess file
|
||||
$hconf = &get_htaccess_config($in{'file'});
|
||||
|
||||
Reference in New Issue
Block a user