Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michal Čihař 2012-07-22 14:03:51 +02:00
commit 317dcdfd60
4 changed files with 4 additions and 0 deletions

View File

@ -176,6 +176,7 @@ class PMA_DIA extends XMLWriter
ob_end_clean();
}
$output = $this->flush();
PMA_Response::getInstance()->disable();
PMA_downloadHeader(
$fileName . '.dia', 'application/x-dia-diagram', strlen($output)
);

View File

@ -357,6 +357,7 @@ class PMA_EPS
//ob_end_clean();
//}
$output = $this->stringCommands;
PMA_Response::getInstance()->disable();
PMA_downloadHeader($fileName . '.eps', 'image/x-eps', strlen($output));
print $output;
}

View File

@ -182,6 +182,7 @@ class PMA_SVG extends XMLWriter
{
//ob_get_clean();
$output = $this->flush();
PMA_Response::getInstance()->disable();
PMA_downloadHeader($fileName . '.svg', 'image/svg+xml', strlen($output));
print $output;
}

View File

@ -162,6 +162,7 @@ class PMA_VISIO extends XMLWriter
//ob_end_clean();
//}
$output = $this->flush();
PMA_Response::getInstance()->disable();
PMA_downloadHeader($fileName . '.vdx', 'application/visio', strlen($output));
print $output;
}