Project

General

Profile

Bug #16823 ยป em_index.diff

Administrator Admin, 2007-03-19 08:22

View differences:

class.em_index.php Mon Mar 26 11:18:11 2007
$backUpData = $this->terConnection->makeUploadDataFromArray($uArr);
$filename = 'T3X_'.$extKey.'-'.str_replace('.','_',$extInfo['EM_CONF']['version']).'-z-'.date('YmdHi').'.t3x';
if (intval($this->CMD['doBackup'])==1) {
header("Pragma: public"); // required
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false); // required for certain browsers
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.$filename);
header("Content-Transfer-Encoding: binary");
echo $backUpData;
exit;
} elseif ($this->CMD['dumpTables']) {
    (1-1/1)