Closed fumikito closed 6 months ago
Skip locale detection if URL is not set(e.g. CLI)
This will solve #276
$_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'] are super global variables that are expected to be defined on an HTTP server. If they are not defined, that is a problem of the server implementation you use.
$_SERVER['HTTP_HOST']
$_SERVER['REQUEST_URI']
Skip locale detection if URL is not set(e.g. CLI)
This will solve #276