1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 17:27:16 +02:00

[feature/template-engine] Make INCLUDEPHP relative to board root.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-05-12 20:09:41 -04:00
parent d2ac05aa74
commit 94560d7086
5 changed files with 11 additions and 10 deletions

View File

@@ -667,7 +667,7 @@ class phpbb_template_filter extends php_user_filter
*/
private function compile_tag_include_php($tag_args)
{
return "include('$tag_args');";
return "\$_template->_php_include('$tag_args');";
}
/**