Code improve noalyss_user: isolate repository from db

This commit is contained in:
sparkyx 2025-08-10 18:29:07 +02:00
parent 894a77618f
commit 69b690c4cb
7 changed files with 509 additions and 102 deletions

View file

@ -39,5 +39,7 @@ $_SESSION[SESSION_KEY.'csv_encoding']='utf8';
$_SESSION[SESSION_KEY.'access_mode']='PC';
$g_user=new Noalyss_user($g_connection);
$_ENV['TMP']="/tmp/";
$_SERVER["REMOTE_ADDR"]="cmd";
$_SERVER['REQUEST_URI']="cmd";
require_once __DIR__.'/facility.class.php';