mirror of
https://github.com/webmin/webmin.git
synced 2025-08-24 06:45:35 +00:00
Add missing param
This commit is contained in:
@ -22,7 +22,7 @@ print &ui_table_row(&opt_help($text{'dirs_include'}, 'include'),
|
|||||||
&file_chooser_button("include", 1, undef, undef, 1));
|
&file_chooser_button("include", 1, undef, undef, 1));
|
||||||
|
|
||||||
$inidir = &get_php_ini_dir($in{'file'});
|
$inidir = &get_php_ini_dir($in{'file'});
|
||||||
if (!$inidir && &get_config_fmt() eq 'ini') {
|
if (!$inidir && &get_config_fmt($in{'file'}) eq 'ini') {
|
||||||
# Extensions directory
|
# Extensions directory
|
||||||
print &ui_table_row($text{'dirs_ext'},
|
print &ui_table_row($text{'dirs_ext'},
|
||||||
&ui_opt_textbox("ext", &find_value("extension_dir", $conf),
|
&ui_opt_textbox("ext", &find_value("extension_dir", $conf),
|
||||||
|
@ -20,7 +20,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$inidir = &get_php_ini_dir($in{'file'});
|
$inidir = &get_php_ini_dir($in{'file'});
|
||||||
if (!$inidir && &get_config_fmt() eq 'ini') {
|
if (!$inidir && &get_config_fmt($in{'file'}) eq 'ini') {
|
||||||
$in{'ext_def'} || $in{'ext'} =~ /\S/ || &error($text{'dirs_eext'});
|
$in{'ext_def'} || $in{'ext'} =~ /\S/ || &error($text{'dirs_eext'});
|
||||||
&save_directive($conf, "extension_dir",
|
&save_directive($conf, "extension_dir",
|
||||||
$in{'ext_def'} ? undef : $in{'ext'});
|
$in{'ext_def'} ? undef : $in{'ext'});
|
||||||
|
Reference in New Issue
Block a user