From 31c2338a8414eb878c1ea8f016a6e8c6cf290d6c Mon Sep 17 00:00:00 2001 From: Gnieark Date: Thu, 9 Jun 2016 15:17:06 +0200 Subject: [PATCH] manage bots --- html/index.php | 2 +- src/act.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/index.php b/html/index.php index 24daabb..ea7d25b 100644 --- a/html/index.php +++ b/html/index.php @@ -193,7 +193,7 @@ if(isset($_GET['arena'])){ $jsAdditionalScript=""; break; - case "ValidateEditBot": + case "validateEditBot": $siteTitle="Your bot is changed"; $siteDescription="bots arena "; $permitIndex=false; diff --git a/src/act.php b/src/act.php index 9e97083..cb959ed 100644 --- a/src/act.php +++ b/src/act.php @@ -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 {