mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
whitespace and curly braces diag_logs_poes.php
This commit is contained in:
parent
71d06a6fa1
commit
37d890f1a1
@ -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/poes.log';
|
||||
$logfile = '/var/log/poes.log';
|
||||
}
|
||||
|
||||
$logtype = 'poes';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user