template_include

Description

This function is used by the loadTemplate function to include the template file (include as in the PHP function).

Syntax

void template_include (string $filename[, bool $once])



Parameter $filename

Expected type: String
Description: The name of the template file (ie index.template.php)



Parameter $once

Expected type: Boolean
Description: Whether to use require() or require_once() (only works if $modSettings['disableTemplateEval'] is set)


Advertisement: