mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Get the actual version if one cannot be guessed from the config file path
https://github.com/virtualmin/virtualmin-gpl/issues/1151
This commit is contained in:
@@ -34,7 +34,8 @@ sub show_phpini_dialog
|
||||
my ($serv) = @_;
|
||||
&foreign_require("phpini");
|
||||
my @files = grep { $_->[1] }
|
||||
map { [ $_->[0], &phpini::get_php_ini_version($_->[0]) ] }
|
||||
map { [ $_->[0], &phpini::get_php_ini_version($_->[0]) ||
|
||||
&phpini::get_php_binary_version($_->[0]) ] }
|
||||
&phpini::list_php_configs();
|
||||
my %donever;
|
||||
@files = grep { !$donever{$_->[1]}++ } @files;
|
||||
|
||||
Reference in New Issue
Block a user