RUNTIME_VERSION
RUNTIME_VERSION
$backend : \PHK\Backend
mimeHeader(string $path) : void
Sends a mime header corresponding to a path
Actually, we use only the file suffix (the path can correspond to an existing node or not).
If the suffix does not correspond to anything we know, nothing is sent (defaults to text/html on Apache, don't know if it can change on another SAPI).
string | $path |
mimeType(string $path) : string|null
Returns the mime-type corresponding to a given path, or null if the suffix does not correspond to anything we know
Searches :
string | $path |
The mime type or null if file suffix is unknown