mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-08 03:54:20 +01:00
Refactor.
This commit is contained in:
parent
06d037ef09
commit
c5983f13eb
@ -55,8 +55,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
$myLog->log(LOG_INFO, $query_string .
|
$myLog->log(LOG_INFO, $query_string .
|
||||||
" (at " . date("c") . " " . microtime() . ") " .
|
" (at " . date("c") . " " . microtime() . ") HTTP" . ($https ? "S" : ""));
|
||||||
($https ? "HTTPS" : "HTTP"));
|
|
||||||
|
|
||||||
/* Detect protocol version */
|
/* Detect protocol version */
|
||||||
if (preg_match('/\/wsapi\/([0-9]+)\.([0-9]+)\//', $_SERVER['REQUEST_URI'], $out))
|
if (preg_match('/\/wsapi\/([0-9]+)\.([0-9]+)\//', $_SERVER['REQUEST_URI'], $out))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user