Use Dossier::connect (singleton) instead of new Databass(dossier_id)
This commit is contained in:
parent
19e6e8ca6d
commit
8fc56e3ef4
87 changed files with 105 additions and 149 deletions
|
|
@ -578,7 +578,7 @@ class Acc_Operation
|
|||
$_SESSION['g_user']='phpcompta';
|
||||
$_SESSION['g_pass']='dany';
|
||||
global $g_user;
|
||||
$cn=new Database(dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
$g_user=new User($cn);
|
||||
$a=new Acc_Operation($cn);
|
||||
$a->jr_id=1444;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue