cleanup template item

This commit is contained in:
ghost 2024-04-30 03:34:49 +03:00
parent c547c67cf5
commit 0816c22595

View File

@ -186,7 +186,6 @@ $server->setHandler(
str_ireplace( str_ireplace(
[ [
'{time}', '{time}',
'{code}',
'{host}', '{host}',
'{port}', '{port}',
'{path}', '{path}',
@ -195,7 +194,6 @@ $server->setHandler(
], ],
[ [
(string) date('c'), (string) date('c'),
(string) (int) is_string($response),
(string) parse_url($url, PHP_URL_HOST), (string) parse_url($url, PHP_URL_HOST),
(string) parse_url($url, PHP_URL_PORT), (string) parse_url($url, PHP_URL_PORT),
(string) str_replace('%', '%%', $request), (string) str_replace('%', '%%', $request),