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
|
|
@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_info.php';
|
|||
require_once NOALYSS_INCLUDE.'/lib/class_ipopup.php';
|
||||
|
||||
$gDossier=dossier::id();
|
||||
$cn=new Database(dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
//menu = show a list of ledger
|
||||
$str_dossier=dossier::get();
|
||||
$ac="ac=".$_REQUEST['ac'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue