@@ -114,10 +114,11 @@ |
||
| 114 | 114 | |
| 115 | 115 | <?php |
| 116 | 116 | if ($twig_page === true) { |
| 117 | - if (!isset($arr)) $arr = []; |
|
| 117 | + if (!isset($arr)) { |
|
| 118 | + $arr = []; |
|
| 119 | + } |
|
| 118 | 120 | echo $twig->render($page.".html", array_merge(array_merge(array_merge($arr, $constant), $_REQUEST), $_SESSION)); |
| 119 | - } |
|
| 120 | - else { |
|
| 121 | + } else { |
|
| 121 | 122 | require("admin/views/".$page.".php"); |
| 122 | 123 | } |
| 123 | 124 | ?> |