Fix linting
This commit is contained in:
parent
5b17a7dbd7
commit
1614145b18
262 changed files with 45324 additions and 42695 deletions
|
|
@ -1,31 +1,31 @@
|
|||
<?php
|
||||
|
||||
if(!defined('ONYX')) exit;
|
||||
if (!defined('ONYX')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$pistage = false;
|
||||
$file = null;
|
||||
|
||||
if (!empty($OPT['ips']))
|
||||
{
|
||||
$ips = explode(';', $OPT['ips']);
|
||||
if (in_array($_SERVER["REMOTE_ADDR"], $ips))
|
||||
$pistage = true;
|
||||
if (!empty($OPT['ips'])) {
|
||||
$ips = explode(';', $OPT['ips']);
|
||||
if (in_array($_SERVER["REMOTE_ADDR"], $ips)) {
|
||||
$pistage = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($OPT['ids']))
|
||||
{
|
||||
$SESS = new Session();
|
||||
if (!empty($OPT['ids'])) {
|
||||
$SESS = new Session();
|
||||
|
||||
$ids = explode(';', $OPT['ids']);
|
||||
if (isset($SESS->values['id']) && in_array($SESS->values['id'], $ids))
|
||||
{
|
||||
$pistage = true;
|
||||
$file = $SESS->values['id'].".log";
|
||||
}
|
||||
$ids = explode(';', $OPT['ids']);
|
||||
if (isset($SESS->values['id']) && in_array($SESS->values['id'], $ids)) {
|
||||
$pistage = true;
|
||||
$file = $SESS->values['id'].".log";
|
||||
}
|
||||
}
|
||||
|
||||
if ($pistage)
|
||||
elog(var_export($_REQUEST, TRUE), 0, ONYX."log/users", $file);
|
||||
if ($pistage) {
|
||||
elog(var_export($_REQUEST, true), 0, ONYX."log/users", $file);
|
||||
}
|
||||
|
||||
unset($pistage, $SESS, $ips, $ids);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue