Skip to content

Commit bea23a5

Browse files
author
Till Brehm
committed
Fix for: #3838 UFW Firewall detected but not set in ispconfig System > Server config.
1 parent 795bb10 commit bea23a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ public function add_database_server_record() {
296296
$tpl_ini_array['fastcgi']['fastcgi_bin'] = $conf['fastcgi']['fastcgi_bin'];
297297
$tpl_ini_array['server']['hostname'] = $conf['hostname'];
298298
$tpl_ini_array['server']['ip_address'] = @gethostbyname($conf['hostname']);
299+
$tpl_ini_array['server']['firewall'] = ($conf['ufw']['installed'] == true)?'ufw':'bastille';
299300
$tpl_ini_array['web']['website_basedir'] = $conf['web']['website_basedir'];
300301
$tpl_ini_array['web']['website_path'] = $conf['web']['website_path'];
301302
$tpl_ini_array['web']['website_symlinks'] = $conf['web']['website_symlinks'];

0 commit comments

Comments
 (0)