Browse Source

reorder template rules

main
ghost 7 months ago
parent
commit
a446a3038b
  1. 4
      src/server.php

4
src/server.php

@ -207,8 +207,8 @@ $server->setHandler(
'{time}', '{time}',
'{host}', '{host}',
'{port}', '{port}',
'{sent}',
'{code}', '{code}',
'{sent}',
'{size}', '{size}',
'{data}' '{data}'
], ],
@ -216,8 +216,8 @@ $server->setHandler(
(string) date('c'), (string) date('c'),
(string) $session[$connect]['host'], (string) $session[$connect]['host'],
(string) $session[$connect]['port'], (string) $session[$connect]['port'],
(string) str_replace('%', '%%', $request),
(string) $session[$connect]['code'], (string) $session[$connect]['code'],
(string) str_replace('%', '%%', $request),
(string) mb_strlen($content), (string) mb_strlen($content),
(string) PHP_EOL . $content, (string) PHP_EOL . $content,
], ],

Loading…
Cancel
Save