Khác biệt giữa các bản “Ghi chú Prestashop”
Từ ChipFC Wiki
(→Disable sendMail for default customer) |
|||
Dòng 23: | Dòng 23: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | == Các tập tin đã chỉnh sửa == | ||
+ | * classes/PaymentModule.php | ||
+ | * img/favicon.ico | ||
+ | * js/admin/tinymce.inc.js | ||
+ | * modules/ps_emailsubscription/config.xml | ||
+ | * modules/ps_emailsubscription/ps_emailsubscription.php | ||
+ | * modules/statsdata/statsdata.php |
Phiên bản lúc 17:05, ngày 3 tháng 4 năm 2018
Cài đặt plugin codemirror cho TinyMCE
Disable sendMail for default customer
- \classes\PaymentModule.php
if (Validate::isEmail($this->context->customer->email) && ($this->context->customer->email != Configuration::get('PS_SHOP_EMAIL'))) {
Mail::Send(
//...
);
}
- \modules\ps_emailalerts\ps_emailalerts.php
if ($dir_mail && ($customer->email != $configuration['PS_SHOP_EMAIL'])) {
Mail::Send(
//...
);
}
Các tập tin đã chỉnh sửa
- classes/PaymentModule.php
- img/favicon.ico
- js/admin/tinymce.inc.js
- modules/ps_emailsubscription/config.xml
- modules/ps_emailsubscription/ps_emailsubscription.php
- modules/statsdata/statsdata.php