//wrong define unsing _MAIL_DIR_ instead of _PS_MAIL_DIR_

This commit is contained in:
vAugagneur
2012-11-29 18:44:51 +01:00
parent 639590c535
commit dbda08099a

View File

@@ -217,7 +217,7 @@ class MailCore
else if ($module_name && file_exists($theme_path.'mails/'.$iso.'/lang.php'))
include_once($theme_path.'mails/'.$iso.'/lang.php');
else
include_once(_MAIL_DIR_.$iso.'/lang.php');
include_once(_PS_MAIL_DIR_.$iso.'/lang.php');
/* Create mail and attach differents parts */
$message = new Swift_Message('['.Configuration::get('PS_SHOP_NAME').'] '.$subject);