Commit 451fea06 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

spaces and curly braces in diag_logs_l2tp.php

(cherry picked from commit 71d06a6f)
parent 83e55445
<?php
if (htmlspecialchars($_POST['mode']))
$mode = htmlspecialchars($_POST['mode']);
elseif (htmlspecialchars($_GET['mode']))
$mode = htmlspecialchars($_GET['mode']);
else
$mode = "login";
if (htmlspecialchars($_POST['mode'])) {
$mode = htmlspecialchars($_POST['mode']);
} elseif (htmlspecialchars($_GET['mode'])) {
$mode = htmlspecialchars($_GET['mode']);
} else {
$mode = "login";
}
if ($mode != 'raw') {
$logfile = '/var/log/vpn.log';
$logfile = '/var/log/vpn.log';
} else {
$logfile = '/var/log/l2tps.log';
$logfile = '/var/log/l2tps.log';
}
$logtype = 'l2tp';
......
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