@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | // default Twig config |
| 92 | 92 | $this->config = [ |
| 93 | - 'cache' => APPPATH . 'cache/twig', |
|
| 93 | + 'cache' => APPPATH.'cache/twig', |
|
| 94 | 94 | 'debug' => ENVIRONMENT !== 'production', |
| 95 | 95 | 'autoescape' => TRUE, |
| 96 | 96 | ]; |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | public function display($view, $params = []) |
| 154 | 154 | { |
| 155 | - $CI =& get_instance(); |
|
| 155 | + $CI = & get_instance(); |
|
| 156 | 156 | $CI->output->set_output($this->render($view, $params)); |
| 157 | 157 | } |
| 158 | 158 | |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | // after loading CodeIgniter functions in a controller. |
| 171 | 171 | $this->addFunctions(); |
| 172 | 172 | |
| 173 | - $view = $view . '.twig'; |
|
| 173 | + $view = $view.'.twig'; |
|
| 174 | 174 | return $this->twig->render($view, $params); |
| 175 | 175 | } |
| 176 | 176 | |