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