Fix PHP notices

This commit is contained in:
billz
2020-03-24 18:48:35 +00:00
parent cb65a66ee3
commit 422a46e92c
4 changed files with 49 additions and 50 deletions

View File

@@ -59,8 +59,7 @@
<div class="row">
<div class="form-group col-md-8">
<?php
$log = file_get_contents('/tmp/openvpn.log');
echo '<textarea class="logoutput">'.htmlspecialchars($log, ENT_QUOTES).'</textarea>';
echo '<textarea class="logoutput"></textarea>';
?>
</div>
</div>