mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
system: switch order to unbreak server.bind in IPv6 first case; closes #4372
This commit is contained in:
parent
a4bcbd5a92
commit
d8cc0bb123
@ -45,7 +45,8 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
$interfaces = array();
|
||||
if (!empty($config['system']['webgui']['interfaces'])) {
|
||||
$interfaces = explode(',', $config['system']['webgui']['interfaces']);
|
||||
$interfaces[] = 'lo0';
|
||||
/* place loopback with good IPv4 first for server.bind */
|
||||
array_unshift($interfaces, 'lo0');
|
||||
}
|
||||
|
||||
@mkdir('/var/lib/php/sessions', 0750, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user