mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[feature/template-engine] Allow leading underscores in variable names.
Subsilver uses ._file in overall_header. PHPBB3-9726
This commit is contained in:
@@ -235,6 +235,15 @@ class phpbb_template_template_test extends phpbb_test_case
|
||||
array('loop.inner'),
|
||||
"first\n0\n0\n2\nx\nset\n1\n1\n2\ny\nset\nlast",
|
||||
),*/
|
||||
array(
|
||||
// Just like a regular loop but the name begins
|
||||
// with an underscore
|
||||
'loop_underscore.html',
|
||||
array(),
|
||||
array(),
|
||||
array(),
|
||||
"noloop\nnoloop",
|
||||
),
|
||||
array(
|
||||
'lang.html',
|
||||
array(),
|
||||
|
Reference in New Issue
Block a user