Merge billz:master into bridge-mode

This commit is contained in:
Taikuh
2020-03-13 14:08:11 +08:00
parent 5e44aae1c5
commit 5d57765669
6 changed files with 28 additions and 18 deletions

View File

@@ -13,6 +13,7 @@
</div>
<?php
exec('sudo chmod o+r /tmp/dnsmasq.log');
$log = file_get_contents('/tmp/dnsmasq.log');
echo '<textarea class="logoutput my-3">'.htmlspecialchars($log, ENT_QUOTES).'</textarea>';
?>

View File

@@ -113,6 +113,7 @@
<div class="form-group col-md-8">
<?php
if ($arrHostapdConf['LogEnable'] == 1) {
exec('sudo /bin/chmod o+r /tmp/hostapd.log');
$log = file_get_contents('/tmp/hostapd.log');
echo '<br /><textarea class="logoutput">'.htmlspecialchars($log, ENT_QUOTES).'</textarea>';
} else {