Bug #15640 : IE download
This commit is contained in:
parent
15914e1205
commit
e43749bca1
4 changed files with 21 additions and 2 deletions
|
|
@ -244,6 +244,19 @@ session.use_trans_sid = 1
|
|||
include_path=".:../include:addon"
|
||||
</verb>
|
||||
</p>
|
||||
</sect1> configuration de .htaccess
|
||||
<p>Dans le cas où vous ne pouvez pas changer le fichier php.ini, il faut
|
||||
simplement ajouter un fichier .htaccess qui contiendrait
|
||||
<verb>
|
||||
php_value include_path ".:../include:addon"
|
||||
php_value session.use_trans_sid true
|
||||
php_value session.auto_start true
|
||||
php_value max_execution_time 120
|
||||
php_value magic_quotes_gpc 0
|
||||
</verb>
|
||||
|
||||
|
||||
<sect1>
|
||||
</sect1>
|
||||
</sect>
|
||||
<sect>Installation de PhpCompta
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ BODY {
|
|||
<script src="scripts.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<BODY onLoad="SetFocus(\'login\',0)">
|
||||
Version 1.2.2 patch 3
|
||||
Version 1.2.2 patch 5
|
||||
<div class="remark">
|
||||
<p class="gras">Il est conseillé de ne PAS utiliser Internet Explorer.
|
||||
</p><p>
|
||||
|
|
|
|||
|
|
@ -58,8 +58,14 @@ if ( pg_num_rows ($ret) == 0 )
|
|||
$row=pg_fetch_array($ret,0);
|
||||
$tmp=tempnam('/tmp/','document_');
|
||||
pg_lo_export($cn,$row['jr_pj'],$tmp);
|
||||
ini_set('zlib.output_compression','Off');
|
||||
header("Pragma: public");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
header("Cache-Control: must-revalidate");
|
||||
header('Content-type: '.$row['jr_pj_type']);
|
||||
header('Content-Disposition: attachment;filename="'.$row['jr_pj_name'].'"',FALSE);
|
||||
header("Accept-Ranges: bytes");
|
||||
$file=fopen($tmp,'r');
|
||||
while ( !feof ($file) )
|
||||
echo fread($file,8192);
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ function html_page_start($p_theme="",$p_script="")
|
|||
{
|
||||
include_once ("postgres.php");
|
||||
ini_set('magic_quotes_gpc','Off');
|
||||
ini_set('session.use_trans_sid',1);
|
||||
|
||||
$cn=DbConnect();
|
||||
if ( $p_theme != "") {
|
||||
$Res=ExecSql($cn,"select the_filestyle from theme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue