Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
1 | <? |
||
16 | protected function get_direct_array() |
||
17 | { |
||
18 | return array( |
||
19 | (object) array( |
||
20 | 'match' => '/', |
||
21 | 'controller' => 'HomeController'), |
||
22 | (object) array( |
||
23 | 'match' => '/terms/', |
||
24 | 'controller' => 'TermsController'), |
||
25 | (object) array( |
||
26 | 'match' => '/change-log/', |
||
27 | 'controller' => 'ChangelogController'), |
||
28 | (object) array( |
||
29 | 'match' => '/contact/', |
||
30 | 'controller' => 'ContactController')); |
||
31 | } |
||
32 | |||
33 | } |
Short opening tags are disabled in PHP’s default configuration. In such a case, all content of this file is output verbatim to the browser without being parsed, or executed.
As a precaution to avoid these problems better use the long opening tag
<?php
.