31,7 → 31,7 |
$tmp = explode("/",$conf["PRIVATE_IP"]); |
$private_ip=$tmp[0]; |
$intif = $conf["INTIF"]; |
if ($conf['MULTIWAN'] !== 'Off') { |
if ($conf['MULTIWAN'] !== 'off') { |
exec ('sudo /usr/local/bin/alcasar-list-ip_gw.sh', $list_ip_gw); |
} |
require('/etc/freeradius-web/config.php'); |
165,7 → 165,7 |
<th><?= $l_user ?></th> |
<th><?= $l_action ?></th> |
<?php |
if ($conf['MULTIWAN'] !== 'Off') { |
if ($conf['MULTIWAN'] !== 'off') { |
echo "<th>$l_gw</th>"; |
} |
echo "</tr>"; |
279,7 → 279,7 |
} |
echo "</form></td>"; |
} |
if ($conf['MULTIWAN'] !== 'Off') { |
if ($conf['MULTIWAN'] !== 'off') { |
if ($detail[4] == "1"){ // authenticated user |
while (list(,$ligne2) = each($list_ip_gw)){ |
$detail2 = explode (" ", $ligne2); |