mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Workaround for logs permissions not sticking
This commit is contained in:
@@ -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>';
|
||||
?>
|
||||
|
Reference in New Issue
Block a user