mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-12 15:54:27 +01:00
Cosmetic changes.
This commit is contained in:
parent
bef2c0cd4a
commit
4c2d4414a0
@ -74,18 +74,25 @@ function getHttpVal ($key, $default)
|
|||||||
return $val;
|
return $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
function log_format() {
|
function log_format()
|
||||||
|
{
|
||||||
$str = "";
|
$str = "";
|
||||||
|
|
||||||
foreach (func_get_args() as $msg)
|
foreach (func_get_args() as $msg)
|
||||||
{
|
{
|
||||||
if (is_array($msg)) {
|
if (is_array($msg))
|
||||||
foreach($msg as $key => $value){
|
{
|
||||||
|
foreach ($msg as $key => $value)
|
||||||
|
{
|
||||||
$str .= "$key=$value ";
|
$str .= "$key=$value ";
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
$str .= $msg . " ";
|
$str .= $msg . " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user