manage bots
This commit is contained in:
parent
bb3ca4e18a
commit
31c2338a84
|
@ -193,7 +193,7 @@ if(isset($_GET['arena'])){
|
|||
$jsAdditionalScript="";
|
||||
break;
|
||||
|
||||
case "ValidateEditBot":
|
||||
case "validateEditBot":
|
||||
$siteTitle="Your bot is changed";
|
||||
$siteDescription="bots arena ";
|
||||
$permitIndex=false;
|
||||
|
|
|
@ -175,7 +175,7 @@ switch($_POST['act']){
|
|||
$mail->setFrom($smtpParams['username'], 'Bots Arena');
|
||||
$mail->Subject = 'BotsArena';
|
||||
$mail->addAddress($_POST['email']);
|
||||
$mail->Body = $lang['E_MAIL_EDIT_BOT']."\n".$siteParam['BASEURL'].'p/ValidateEditBot/'.$secret."\n".$lang['E_MAIL_ADD_BOT_SIGNATURE'];
|
||||
$mail->Body = $lang['E_MAIL_EDIT_BOT']."\n".$siteParam['BASEURL'].'p/validateEditBot/'.$secret."\n".$lang['E_MAIL_ADD_BOT_SIGNATURE'];
|
||||
if (!$mail->send()) {
|
||||
error(500,"Mailer Error: " . $mail->ErrorInfo);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user