File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ You can override the default configuration:
3333
3434~~~ php
3535$config = [
36- 'paths' => ['/path/to/twig/templates', VIEWPATH],
37- 'cache' => '/path/to/twig/cache',
36+ 'paths' => ['/path/to/twig/templates', VIEWPATH],
37+ 'cache' => '/path/to/twig/cache',
3838];
3939$this->twig = new \Kenjis\CI4Twig\Twig($config);
4040~~~
@@ -88,9 +88,9 @@ You can add your functions and filters with configuration:
8888
8989~~~ php
9090$config = [
91- 'functions' => ['my_helper'],
92- 'functions_safe' => ['my_safe_helper'],
93- 'filters' => ['my_filter'],
91+ 'functions' => ['my_helper'],
92+ 'functions_safe' => ['my_safe_helper'],
93+ 'filters' => ['my_filter'],
9494];
9595$this->twig = new \Kenjis\CI4Twig\Twig($config);
9696~~~
You can’t perform that action at this time.
0 commit comments