Stringfunktionen im include auf mb_* umgestellt

This commit is contained in:
Andreas Österreicher
2009-06-22 08:59:45 +00:00
parent 0dd950839b
commit c45029583e
51 changed files with 266 additions and 290 deletions
+2 -2
View File
@@ -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"');