diff --git a/html/fiche_csv.php b/html/fiche_csv.php index 80dc159a8..434875620 100644 --- a/html/fiche_csv.php +++ b/html/fiche_csv.php @@ -35,7 +35,7 @@ if ( isset ($_REQUEST['with_amount'])) include_once("class_acc_account.php"); $cn=DbConnect($gDossier); $rep=DbConnect(); -include ('class_user.php'); +require_once ('class_user.php'); $User=new cl_user($rep); $User->Check(); diff --git a/html/form_csv.php b/html/form_csv.php index 799d52173..003a060f1 100644 --- a/html/form_csv.php +++ b/html/form_csv.php @@ -24,8 +24,8 @@ include_once("ac_common.php"); include_once ("postgres.php"); include ('class_user.php'); -include("class_rapport.php"); -include("impress_inc.php"); +require_once("class_rapport.php"); +require_once("impress_inc.php"); header('Content-type: application/csv'); header('Content-Disposition: attachment;filename="rapport.csv"',FALSE); require_once('class_dossier.php'); diff --git a/html/poste_csv.php b/html/poste_csv.php index a4c777038..b7980ad1e 100644 --- a/html/poste_csv.php +++ b/html/poste_csv.php @@ -24,7 +24,7 @@ include_once("ac_common.php"); include_once ("postgres.php"); include ('class_user.php'); -include("class_acc_account.php"); +require_once("class_acc_account.php"); header('Content-type: application/csv'); header('Content-Disposition: attachment;filename="poste.csv"',FALSE); require_once('class_dossier.php'); diff --git a/html/poste_pdf.php b/html/poste_pdf.php index 4f5cc1ca8..2812ec0c2 100644 --- a/html/poste_pdf.php +++ b/html/poste_pdf.php @@ -28,7 +28,7 @@ include_once("ac_common.php"); include_once("postgres.php"); include_once("class.ezpdf.php"); include_once("impress_inc.php"); -include("poste.php"); +require_once("poste.php"); require_once ('header_print.php'); require_once('class_dossier.php'); $gDossier=dossier::id(); diff --git a/html/quick_code_csv.php b/html/quick_code_csv.php index 5e839b3d5..9b72603aa 100644 --- a/html/quick_code_csv.php +++ b/html/quick_code_csv.php @@ -24,7 +24,7 @@ include_once("ac_common.php"); include_once ("postgres.php"); include ('class_user.php'); -include("class_fiche.php"); +require_once("class_fiche.php"); header('Content-type: application/csv'); header('Content-Disposition: attachment;filename="poste.csv"',FALSE); require_once('class_dossier.php'); diff --git a/html/recherche.php b/html/recherche.php index 26df1a1cd..81285d753 100644 --- a/html/recherche.php +++ b/html/recherche.php @@ -20,7 +20,7 @@ // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr require_once('class_dossier.php'); include_once("ac_common.php"); -include("user_menu.php"); +require_once("user_menu.php"); include_once ("constant.php"); include_once("jrn.php"); include_once("user_common.php"); diff --git a/html/send_poste_pdf.php b/html/send_poste_pdf.php index 9c57710da..45e12c90b 100644 --- a/html/send_poste_pdf.php +++ b/html/send_poste_pdf.php @@ -29,7 +29,7 @@ include_once("postgres.php"); include_once("class.ezpdf.php"); include_once("impress_inc.php"); -include("poste.php"); +require_once("poste.php"); echo_debug('send_poste_pdf.php',__LINE__,"imp pdf journaux"); $cn=DbConnect($g_dossier); foreach ($_POST as $key=>$element) { diff --git a/include/import_inc.php b/include/import_inc.php index 4a1c9c968..f79170a72 100644 --- a/include/import_inc.php +++ b/include/import_inc.php @@ -53,7 +53,7 @@ StartSql($p_cn); // include the right format for CSV --> given by the