set namevirtualhost_statement default to 'On', so froxlor is still reachable after addition of first customer

This commit is contained in:
Michael Kaufmann (d00p)
2010-04-06 17:36:22 +00:00
parent 0eec533647
commit 6a0fcc1fd9

View File

@@ -656,7 +656,8 @@ if(isset($_POST['installstep'])
$query = "INSERT INTO `".TABLE_PANEL_IPSANDPORTS."` $query = "INSERT INTO `".TABLE_PANEL_IPSANDPORTS."`
SET `ip`= '".$db->escape($serverip)."', SET `ip`= '".$db->escape($serverip)."',
`port` = '80', `port` = '80',
`namevirtualhost_statement` = '1',
`vhostcontainer` = '1', `vhostcontainer` = '1',
`vhostcontainer_servername_statement` = '1'"; `vhostcontainer_servername_statement` = '1'";
$db->query($query); $db->query($query);