1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-08 03:54:20 +01:00

Cosmetic changes.

This commit is contained in:
Jean Paul Galea 2015-07-22 19:38:32 +00:00
parent bef2c0cd4a
commit 4c2d4414a0

View File

@ -74,18 +74,25 @@ function getHttpVal ($key, $default)
return $val;
}
function log_format() {
function log_format()
{
$str = "";
foreach (func_get_args() as $msg)
{
if (is_array($msg)) {
foreach($msg as $key => $value){
if (is_array($msg))
{
foreach ($msg as $key => $value)
{
$str .= "$key=$value ";
}
} else {
}
else
{
$str .= $msg . " ";
}
}
return $str;
}