// Improve performance and bug fixes
This commit is contained in:
@@ -29,7 +29,8 @@ include_once(dirname(__FILE__).'/../config/config.inc.php');
|
||||
|
||||
/* Getting cookie or logout */
|
||||
require_once(dirname(__FILE__).'/init.php');
|
||||
|
||||
if (Tools::getValue('token') != Tools::getAdminTokenLite('AdminEmails'))
|
||||
die(Tools::displayError());
|
||||
$smtpChecked = (trim($_POST['mailMethod']) == 'smtp');
|
||||
$smtpServer = $_POST['smtpSrv'];
|
||||
$content = urldecode($_POST['testMsg']);
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
var textSubject = "{l s='Test message - Prestashop'}";
|
||||
var textSendOk = "{l s='A test e-mail has been sent to the e-mail address you specified'}";
|
||||
var textSendError= "{l s='Error: please check your configuration'}";
|
||||
var token_mail = '{$token}';
|
||||
var errorMail = "{l s='This e-mail address is invalid'}";
|
||||
$(document).ready(function() {
|
||||
if ($('input[name=PS_MAIL_METHOD]:checked').val() == 2)
|
||||
|
||||
Reference in New Issue
Block a user