mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02:00
[feature/twig] Add check for defined IN_PHPBB in all new Twig related files
PHPBB3-11598
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
class phpbb_template_twig_tokenparser_php extends Twig_TokenParser
|
||||
{
|
||||
/**
|
||||
|
Reference in New Issue
Block a user