Explorar el Código

fixed index.php - use UI

Piotr Labudda hace 8 años
padre
commit
aa3f598186
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. 5 4
      SE/index.php

+ 5 - 4
SE/index.php

@@ -43,11 +43,12 @@ $MENU_INIT = isset($_REQUEST['MENU_INIT'])? $_REQUEST['MENU_INIT'] : null;
 $ARG1 = isset($_REQUEST['ARG1'])? $_REQUEST['ARG1'] : null;
 $ARG1 = isset($_REQUEST['ARG1'])? $_REQUEST['ARG1'] : null;
 $ARG1_VAL = isset($_REQUEST['ARG1_VAL'])? $_REQUEST['ARG1_VAL'] : null;
 $ARG1_VAL = isset($_REQUEST['ARG1_VAL'])? $_REQUEST['ARG1_VAL'] : null;
 
 
-if ('YES' != V::get('HEADER_NOT_INIT', '', $_REQUEST)) SE_Layout::gora();
+Lib::loadClass('UI');
+if ('YES' != V::get('HEADER_NOT_INIT', '', $_REQUEST)) UI::gora();
 
 
 if (!User::hasAccess('menu')) {
 if (!User::hasAccess('menu')) {
-	SE_Layout::menu();
-	SE_Layout::dol();
+	UI::menu();
+	UI::dol();
 	exit;
 	exit;
 }
 }
 
 
@@ -62,7 +63,7 @@ SEF('MENU');
 SEF('MENU_INIT');
 SEF('MENU_INIT');
 MENU_INIT();
 MENU_INIT();
 
 
-SE_Layout::dol();
+UI::dol();
 if ($_SESSION['DEBUG']) {
 if ($_SESSION['DEBUG']) {
 	echo"<hr>_POST:\n<br><pre>";
 	echo"<hr>_POST:\n<br><pre>";
 	print_r($_POST);
 	print_r($_POST);