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
|
|
@ -28,7 +28,7 @@ require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
|||
require_once NOALYSS_INCLUDE.'/class/class_document.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_dossier.php';
|
||||
$gDossier = dossier::id();
|
||||
$cn = new Database($gDossier);
|
||||
$cn = Dossier::connect();
|
||||
$action = (isset($_REQUEST['a'])) ? $_REQUEST['a'] : 'sh';
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/class_user.php';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue