Commit ce2ab9e1 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

whitespace and curly braces diag_logs_poes.php

(cherry picked from commit 37d890f1)
parent 451fea06
<?php <?php
if (htmlspecialchars($_POST['mode'])) if (htmlspecialchars($_POST['mode'])) {
$mode = htmlspecialchars($_POST['mode']); $mode = htmlspecialchars($_POST['mode']);
elseif (htmlspecialchars($_GET['mode'])) } elseif (htmlspecialchars($_GET['mode'])) {
$mode = htmlspecialchars($_GET['mode']); $mode = htmlspecialchars($_GET['mode']);
else } else {
$mode = "login"; $mode = "login";
}
if ($mode != 'raw') { if ($mode != 'raw') {
$logfile = '/var/log/vpn.log'; $logfile = '/var/log/vpn.log';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment