SecureFileController::set_not_found_text
Set a 'not found' message to replace the standard string.
Signature
public function set_not_found_text([string
$message = 'Not Found',
[string
$i18n = 'SecureFiles.NOTFOUND']] )
Parameters
$message
— string- body of 404 Not Found response
$i18n
— string- to i18n path