doker compose + deux-trois trucs pour développer plus facilement
This commit is contained in:
parent
7df8c34fc5
commit
6ff22f0279
6 changed files with 27 additions and 6 deletions
|
|
@ -147,7 +147,13 @@ if (isset($_POST['HB_pseudo']) && isset($_POST['HB_mdp']) && isset($_POST['HB_co
|
|||
//$mail->Subject='Halo-Battle :: Pre-Inscription';
|
||||
//$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Halo-Battle :: Pré-Inscription</title></head><body><p>Félicitations '.$pseudo.' !<br />Votre compte vient d'être enregistré sur notre serveur. Un mail de confirmation vous sera envoyé lors de la sortie du jeu en ligne Halo-Battle. Si vous ne recevez pas l\'email de confirmation, <a href="mailto:technique@halo-battle.s-fr.com">contactez un administrateur</a>.<br /><br />A très bientôt pour la sortie d'Halo-Battle !</p></body></html>';
|
||||
|
||||
if(!$mail->Send()){
|
||||
if (DEV) {
|
||||
$ret = true;
|
||||
} else {
|
||||
$ret = $mail->Send();
|
||||
}
|
||||
|
||||
if(!$ret){
|
||||
$template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !<br /><br /><small><i>'.$mail->ErrorInfo.'</i></small><br /><br />Si le problème perciste, <a href="mailto:technique@halo-battle.fr">contactez un administrateur</a>.');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('cms/erreur.tpl');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ if (!empty($_GET['i'])) {
|
|||
case 1:
|
||||
//$url = "http://battle.halo.fr/";
|
||||
//$url = "http://hb.s-fr.com/beta.php";
|
||||
$url = "https://beta.halo-battle.fr/";
|
||||
//$url = "https://beta.halo-battle.fr/";
|
||||
$url = 'http://'.$_SERVER['HTTP_HOST'].'/';
|
||||
break;
|
||||
default:
|
||||
$url = "http://battle.halo.fr/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue