Add missing param

This commit is contained in:
Jamie Cameron
2025-02-02 14:56:15 -08:00
parent 54a9dcb75f
commit 0bca7791d7
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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'});