diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index ccb835c6cb..79042f6156 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -116,7 +116,7 @@ class template if ($filename = $this->_tpl_load($handle)) { - include($filename); + include_once($filename); } else { @@ -297,7 +297,7 @@ class template if ($filename) { - include($filename); + include_once($filename); return; } eval(' ?>' . $this->compiled_code[$handle] . '