forked from science-ation/science-ation
Make backup/restore work in Internet Exploder over SSL
This commit is contained in:
parent
d4e604fed5
commit
5970cc2782
@ -79,6 +79,8 @@ while($tr=mysql_fetch_row($tableq)) {
|
|||||||
header("Content-Type: text/sql");
|
header("Content-Type: text/sql");
|
||||||
header("Content-Disposition: attachment; filename=sfiab_backup_".date("Y-m-d-H-i-s",$ts).".sql");
|
header("Content-Disposition: attachment; filename=sfiab_backup_".date("Y-m-d-H-i-s",$ts).".sql");
|
||||||
header("Content-Length: ".strlen($dump));
|
header("Content-Length: ".strlen($dump));
|
||||||
|
//Make IE with SSL work
|
||||||
|
header("Pragma: public");
|
||||||
echo $dump;
|
echo $dump;
|
||||||
}
|
}
|
||||||
else if($_POST['action']=="restore") {
|
else if($_POST['action']=="restore") {
|
||||||
|
Loading…
Reference in New Issue
Block a user