Fix typo when detecting PHP binary

This commit is contained in:
iliajie
2023-07-15 23:27:18 +03:00
parent bedb091e56
commit 437bdd2528

View File

@@ -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;