mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Show the PHP binary and version
This commit is contained in:
@ -24,6 +24,7 @@ list_efile=File to edit must be an absolute path
|
||||
list_return=PHP configuration
|
||||
list_format_ini=INI format
|
||||
list_format_fpm=FPM format
|
||||
list_bin=PHP version $2 at $1
|
||||
|
||||
vars_title=PHP Variables
|
||||
vars_header=PHP variable creation and quoting options
|
||||
|
@ -13,7 +13,13 @@ if (@files == 1 && !$access{'anyfile'} && $access{'noconfig'}) {
|
||||
}
|
||||
$inidir = &get_php_ini_dir($in{'file'});
|
||||
|
||||
&ui_print_header("<tt>".&html_escape($in{'file'})."</tt>",
|
||||
my $bin = &get_php_ini_binary($in{'file'});
|
||||
my $ver = &get_php_binary_version($in{'file'});
|
||||
my $vmsg = "";
|
||||
if ($bin && $ver) {
|
||||
$vmsg = "<br>".&text('list_bin', "<tt>$bin</tt>", $ver);
|
||||
}
|
||||
&ui_print_header("<tt>".&html_escape($in{'file'})."</tt>".$vmsg,
|
||||
$text{'list_title'}, "", undef, 0, $onefile);
|
||||
|
||||
@pages = ( "vars", "dirs", "db", "session", "limits",
|
||||
|
Reference in New Issue
Block a user