Function template_include
Load the template/language file using require - loads the template or language file specified by filename. - uses eval unless disableTemplateEval is enabled. - outputs a parse error if the file did not exist or contained errors. - attempts to detect the error and line, and show detailed information.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Load.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Load.php
string |
$filename |
The name of the file to include |
boolean |
$once = false |
If true only includes the file once (like include_once) |