mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
spaces and curly braces in diag_logs_l2tp.php
This commit is contained in:
parent
db3601f491
commit
71d06a6fa1
@ -1,16 +1,17 @@
|
||||
<?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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user