$kirby->disguiseFilePath()
Replaces absolute file paths with placeholders such as {kirby_folder}, {site_folder} or {index_folder} 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
This method modifies the existing $app object it is applied to and returns it again.