set encoding header

This commit is contained in:
Daniel Seifert 2017-11-17 12:38:46 +01:00
parent 1b60e58e85
commit bc6352d893

View File

@ -18,6 +18,8 @@ class d3dev extends oxUBase
{ {
public function showOrderMailContent() public function showOrderMailContent()
{ {
header('Content-type: text/html; charset='.oxRegistry::getLang()->translateString('charset'));
if (oxRegistry::getConfig()->getActiveShop()->oxshops__oxproductive->value if (oxRegistry::getConfig()->getActiveShop()->oxshops__oxproductive->value
|| false == oxRegistry::getConfig()->getConfigParam('blD3DevShowOrderMailsInBrowser') || false == oxRegistry::getConfig()->getConfigParam('blD3DevShowOrderMailsInBrowser')
) { ) {