Replace $_SESSION[g_dossier] by a variable gDossier, this parameter is passed thanks the class dossier

This commit is contained in:
sparkyx 2007-08-17 23:29:02 +00:00
parent afd2c2cc50
commit f837f6da8b
114 changed files with 954 additions and 791 deletions

View file

@ -26,9 +26,11 @@ header('Content-Disposition: attachment;filename="balance.csv"',FALSE);
include_once ("ac_common.php");
include_once("class_balance.php");
include_once ("postgres.php");
require_once('class_dossier.php');
$gDossier=dossier::id();
include("class_jrn.php");
$cn=DbConnect($_SESSION['g_dossier']);
$cn=DbConnect($gDossier);
include ('class_user.php');