fix : lil $i and upload indication
This commit is contained in:
parent
bd5fcec15b
commit
0ead65040c
3 changed files with 2 additions and 3 deletions
2
bdd.php
2
bdd.php
|
@ -356,8 +356,6 @@ function generer_chronologie(){
|
|||
while (($ens = $res->fetch_assoc())){
|
||||
|
||||
array_push($ensembles,$ens);
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
// on rajoute le chemin vers chaque document présent dans l'ensemble
|
||||
|
|
|
@ -39,6 +39,7 @@ $csrf = new CSRF();
|
|||
<br>
|
||||
<form id="uploadForm" enctype="multipart/form-data">
|
||||
<input type="file" class="champ" id="fileInput" multiple>
|
||||
<label for="uploadForm">Mettez tout d'un seul coup ici ( sujet, corrigé etc...)</label>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class Mail
|
|||
$this::$mail = new PHPMailer(true);
|
||||
$this::$mail->isSMTP();
|
||||
$this::$mail->Host = "192.168.200.9";
|
||||
$this::$mail->SMTPAuth = true;
|
||||
$this::$mail->SMTPAuth = false;
|
||||
//$this::$mail->Username = $mel_id;
|
||||
//$this::$mail->Password = $mel_mdp;
|
||||
$this::$mail->setFrom($mel_adr, name: 'Club Info INSA Toulouse');
|
||||
|
|
Loading…
Reference in a new issue