Commit 0925b8f5 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

whitespace and curly braces in diag_logs_pptp.php

(cherry picked from commit 66d8d5f0)
parent ce2ab9e1
<?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/pptps.log';
$logfile = '/var/log/pptps.log';
}
$logtype = 'pptp';
......
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