Replace $_SESSION[g_dossier] by a variable gDossier, this parameter is passed thanks the class dossier
This commit is contained in:
parent
afd2c2cc50
commit
f837f6da8b
114 changed files with 954 additions and 791 deletions
|
|
@ -5,9 +5,11 @@ include ("constant.php");
|
|||
include ("postgres.php");
|
||||
include("user_common.php");
|
||||
include("debug.php");
|
||||
require_once('class_dossier.php');
|
||||
$gDossier=dossier::id();
|
||||
|
||||
echo_debug('fid.php',__LINE__,"Recherche fid.php".$_GET["FID"]);
|
||||
$cn=DbConnect($_SESSION['g_dossier']);
|
||||
$cn=DbConnect($gDossier);
|
||||
if ( isset($_SESSION['isValid']) && $_SESSION['isValid'] == 1)
|
||||
{
|
||||
$d=$_GET['d'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue