mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
Stringfunktionen im include auf mb_* umgestellt
This commit is contained in:
@@ -42,12 +42,12 @@ class fop
|
||||
break;
|
||||
}
|
||||
|
||||
if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))
|
||||
if(isset($_SERVER['HTTP_USER_AGENT']) && mb_strpos($_SERVER['HTTP_USER_AGENT'],'MSIE'))
|
||||
header('Content-Type: application/force-download');
|
||||
else
|
||||
header('Content-Type: application/octet-stream');
|
||||
|
||||
header('Content-Length: '.strlen($buffer));
|
||||
header('Content-Length: '.mb_strlen($buffer));
|
||||
header('Content-disposition: attachment; filename="'.$filename.'.pdf"');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user