yggverse 7 months ago
parent
commit
0982526c90
  1. 4
      src/nex.php

4
src/nex.php

@ -338,8 +338,8 @@ $server->start(
(string) (int) is_string($response), (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) empty($request) ? '/' : str_replace('%', '%%', $request), (string) str_replace('%', '%%', empty($request) ? '/' : $request),
(string) (!$realpath || !is_string($response) ? '!' : '') . str_replace('%', '%%', $realpath), (string) str_replace('%', '%%', empty($realpath) ? '!' : $realpath),
(string) mb_strlen((string) $response) (string) mb_strlen((string) $response)
], ],
NEXT_DUMP NEXT_DUMP

Loading…
Cancel
Save