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

@ -27,9 +27,11 @@ include ('class_user.php');
include("class_fiche.php");
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="poste.csv"',FALSE);
require_once('class_dossier.php');
$gDossier=dossier::id();
/* Admin. Dossier */
$cn=DbConnect($_SESSION['g_dossier']);
$cn=DbConnect($gDossier);
$User=new cl_user($cn);