rename user.class.php and User by noalyss_user.class.php and Noalyss_User

This commit is contained in:
sparkyx 2022-10-27 13:35:16 +02:00
parent b525024728
commit ae868936af
47 changed files with 97 additions and 103 deletions

View file

@ -23,11 +23,11 @@
*/
require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE . '/class/noalyss_user.class.php';
$cn=Dossier::connect();
global $g_user;
$g_user=new User($cn);
$g_user=new Noalyss_user($cn);
$g_user->Check();
$g_user->check_dossier($_GET['gDossier']);
$res=$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 order by code limit 5 ",array($g_user->get_profile(),$_POST['acs'],$_POST['acs']));