mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix back directories
This commit is contained in:
@ -505,7 +505,7 @@ if ($file && -r $file && &foreign_check("virtual-server")) {
|
||||
my $conf;
|
||||
my $filedir = $file;
|
||||
$filedir =~ s/\/[^\/]+$//;
|
||||
my @conf = grep { &is_under_directory($filedir, $_->{'dir'}) }
|
||||
my @conf = grep { &is_under_directory($_->{'dir'}, $filedir) }
|
||||
&virtual_server::list_php_fpm_configs();
|
||||
if (@conf) {
|
||||
$conf = &virtual_server::get_php_fpm_config(
|
||||
|
Reference in New Issue
Block a user