Fix IE Bug : he was not able to open CSV files when https is used

This commit is contained in:
Dany De Bontridder 2010-08-05 10:02:28 +00:00
parent d8455b1b5a
commit d0ff07fbe2
10 changed files with 12 additions and 1 deletions

View file

@ -21,6 +21,7 @@
/*! \file
* \brief Return the balance in CSV format
*/
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="balance.csv"',FALSE);
include_once ("ac_common.php");

View file

@ -28,6 +28,7 @@
*
*/
header('Content-type: application/csv');
header('Pragma: public');
header('Content-Disposition: attachment;filename="ca_bal_croise.csv"',FALSE);
require_once ('class_anc_balance_double.php');

View file

@ -23,7 +23,7 @@
/*!\file
* \brief export the operation in pdf
*/
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="ca_bal_simple.csv"',FALSE);

View file

@ -24,6 +24,7 @@
* \brief export the operation in pdf
*
*/
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="jrn.csv"',FALSE);

View file

@ -22,6 +22,7 @@
* \brief Send a CSV file with card
*/
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="fiche.csv"',FALSE);
include_once ("ac_common.php");

View file

@ -26,6 +26,7 @@ require_once('class_database.php');
include ('class_user.php');
require_once("class_acc_report.php");
require_once("impress_inc.php");
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="rapport.csv"',FALSE);
require_once('class_dossier.php');

View file

@ -35,6 +35,8 @@ require_once('class_user.php');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="gl_comptes.csv"',FALSE);
header('Pragma: public');
$gDossier=dossier::id();

View file

@ -22,6 +22,7 @@
* \brief Send a ledger in CSV format
*/
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="jrn.csv"',FALSE);
include_once ("ac_common.php");

View file

@ -27,6 +27,7 @@ include ('class_user.php');
require_once("class_acc_account_ledger.php");
require_once ('class_acc_operation.php');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="poste.csv"',FALSE);
require_once('class_dossier.php');

View file

@ -26,6 +26,8 @@ require_once('class_database.php');
include ('class_user.php');
require_once("class_fiche.php");
header('Content-type: application/csv');
header('Pragma: public');
header('Content-Disposition: attachment;filename="poste.csv"',FALSE);
require_once('class_dossier.php');
$gDossier=dossier::id();