mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Merge master into HEAD
Conflicts: include/dokument_export.class.php include/studiengang.class.php vilesci/stammdaten/reihungstestverwaltung.php
This commit is contained in:
@@ -298,6 +298,9 @@ class dokument_export
|
||||
|
||||
if($download)
|
||||
{
|
||||
if(headers_sent())
|
||||
exit('Header wurden bereits gesendet -> Abbruch');
|
||||
|
||||
switch($this->outputformat)
|
||||
{
|
||||
case 'pdf':
|
||||
@@ -317,6 +320,8 @@ class dokument_export
|
||||
header('Content-Disposition: attachment; filename="'.$this->filename.'.odt"');
|
||||
header('Content-Length: '.$fsize);
|
||||
break;
|
||||
default:
|
||||
exit('Outputformat is not defined');
|
||||
}
|
||||
|
||||
while (!feof($handle))
|
||||
|
||||
Reference in New Issue
Block a user