File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ codeigniter/
1616## Requirements
1717
1818* PHP 5.4.0 or later
19+ * Twig 1.22.0 or later (Also, simply checked with Twig v2.x)
1920
2021## Installation
2122
Original file line number Diff line number Diff line change 1414 ],
1515 "require" : {
1616 "php" : " >=5.4.0" ,
17- "twig/twig" : " ~1.20 "
17+ "twig/twig" : " ~1.22 "
1818 },
1919 "require-dev" : {
2020 "codeigniter/framework" : " 3.1.*" ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public function __construct($params = [])
9292 $ this ->config = [
9393 'cache ' => APPPATH . 'cache/twig ' ,
9494 'debug ' => ENVIRONMENT !== 'production ' ,
95- 'autoescape ' => TRUE ,
95+ 'autoescape ' => ' html ' ,
9696 ];
9797
9898 $ this ->config = array_merge ($ this ->config , $ params );
You can’t perform that action at this time.
0 commit comments