@@ -82,7 +82,7 @@ |
||
| 82 | 82 | <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p> |
| 83 | 83 | </div> |
| 84 | 84 | |
| 85 | - <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo (ENVIRONMENT === 'development') ? 'CodeIgniter Version <strong>' . CI_VERSION . '</strong>' : '' ?></p> |
|
| 85 | + <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo (ENVIRONMENT === 'development') ? 'CodeIgniter Version <strong>'.CI_VERSION.'</strong>' : '' ?></p> |
|
| 86 | 86 | </div> |
| 87 | 87 | |
| 88 | 88 | </body> |
@@ -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 | |
@@ -82,8 +82,7 @@ |
||
| 82 | 82 | { |
| 83 | 83 | $this->paths = $params['paths']; |
| 84 | 84 | unset($params['paths']); |
| 85 | - } |
|
| 86 | - else |
|
| 85 | + } else |
|
| 87 | 86 | { |
| 88 | 87 | $this->paths = [VIEWPATH]; |
| 89 | 88 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | </table> |
| 28 | 28 | |
| 29 | 29 | <hr> |
| 30 | -<?=anchor('bbs', 'トップに戻る');?> |
|
| 30 | +<?=anchor('bbs', 'トップに戻る'); ?> |
|
| 31 | 31 | |
| 32 | 32 | </body> |
| 33 | 33 | </html> |