Skip to content

Commit

Permalink
Dev: commented twig escaper extension
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 30, 2017
1 parent 436692d commit ec5eadc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/config/internal.php
Expand Up @@ -192,15 +192,15 @@

// All parameters below are optional, change them to your needs
'fileExtension' => '.twig',
'options' => array(
'options' => array(
'debug' => defined('YII_DEBUG') && YII_DEBUG ?true:false,
),
'extensions' => array(
'LS_Twig_Extension',
'Twig_Extension_Sandbox',
'Twig_Extension_StringLoader',
'Twig_Extension_Debug',
'Twig_Extension_Escaper',
// 'Twig_Extension_Escaper' // In the future, this extenstion could be use to build a powerfull XSS filter
),
'globals' => array(
'html' => 'CHtml'
Expand Down

0 comments on commit ec5eadc

Please sign in to comment.