mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
include_once
git-svn-id: file:///svn/phpbb/trunk@4557 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -116,7 +116,7 @@ class template
|
|||||||
|
|
||||||
if ($filename = $this->_tpl_load($handle))
|
if ($filename = $this->_tpl_load($handle))
|
||||||
{
|
{
|
||||||
include($filename);
|
include_once($filename);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -297,7 +297,7 @@ class template
|
|||||||
|
|
||||||
if ($filename)
|
if ($filename)
|
||||||
{
|
{
|
||||||
include($filename);
|
include_once($filename);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
eval(' ?>' . $this->compiled_code[$handle] . '<?php ');
|
eval(' ?>' . $this->compiled_code[$handle] . '<?php ');
|
||||||
|
Reference in New Issue
Block a user