Browse Source

cleanup template item

main
ghost 7 months ago
parent
commit
0816c22595
  1. 2
      src/server.php

2
src/server.php

@ -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),

Loading…
Cancel
Save