mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
include_once
git-svn-id: file:///svn/phpbb/trunk@4557 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2d1eb29e36
commit
0d56643cb2
1 changed files with 2 additions and 2 deletions
|
@ -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 ');
|
||||||
|
|
Loading…
Add table
Reference in a new issue