mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix typo when detecting PHP binary
This commit is contained in:
@@ -306,7 +306,7 @@ if (&foreign_check("virtual-server")) {
|
||||
}
|
||||
|
||||
# Try to get version from the path
|
||||
if ($fle =~ /php(\d+)/) {
|
||||
if ($file =~ /php(\d+)/) {
|
||||
my $ver = $1;
|
||||
my $nodot = $ver;
|
||||
$nodot =~ s/\.//g;
|
||||
|
||||
Reference in New Issue
Block a user