//wrong define unsing _MAIL_DIR_ instead of _PS_MAIL_DIR_
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user