$kirby->disguiseFilePath()
Replaces absolute file paths with placeholders such as {kirby}, {site} or {index} to avoid exposing too many details about the filesystem and keeping error responses short and readable in debug mode.
$kirby->disguiseFilePath(string $file): string
Parameters
| Name | Type | Default |
|---|---|---|
| $filerequired | string |
no default value |
Return type
string