-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
fatal_lang_error
Description
Stops execution and displays an error message according to the specified key.
Syntax
void fatal_lang_error (string $error[, bool $log[, array $sprintf]])
Parameter $error
Expected type: String
Description: The key for the $txt string to be used for the message
Parameter $log
Expected type: Boolean
Description: Whether or not to log the error. Defaults to true.
Parameter $sprintf
Expected type: Array
Description: The information to be inserted into the error message with sprintf() (see http://www.php.net/sprintf for more info)
Notes
- Key - which error string should be used ($txt['error_key'])
- Loads the Errors language file.
- Applies the sprintf information if specified.
- The information is logged if log is true or missing.
- Uses the Errors template with the fatal_error sub template, or the proper error sub template in the Wirless template.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search