1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-30 02:59:29 +02:00

[ticket/10322] Dynamic template include test

PHPBB3-10322
This commit is contained in:
Patrick Webster 2011-09-08 17:54:59 -05:00
parent fbec7c9b2b
commit b5ecb2f7a8
2 changed files with 10 additions and 0 deletions

View File

@ -162,6 +162,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
array(),
'value',
),
array(
'include_variable.html',
array('FILE' => 'variable.html', 'VARIABLE' => 'value'),
array(),
array(),
"value\nvalue",
),
array(
'loop_vars.html',
array(),

View File

@ -0,0 +1,3 @@
<!-- INCLUDE {FILE} -->
<!-- DEFINE $DEF = 'variable.html' -->
<!-- INCLUDE {$DEF} -->