Commit 294b1c6aa466709b6434be42790a0dcf1609bbb9
1 parent
6cea6d00
MAJ
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
site/add.php
... | ... | @@ -47,12 +47,12 @@ session_start(); |
47 | 47 | setup($_POST['raspberry']); |
48 | 48 | |
49 | 49 | $temps = getTime($_POST['type']); |
50 | - file_put_contents('upload/temps', $temps); | |
50 | + file_put_contents('upload/temps.txt', $temps); | |
51 | 51 | |
52 | 52 | exec("super cmd.sh"); |
53 | 53 | ?> |
54 | 54 | <div class="alert alert-success" role="alert"> |
55 | - Le capteur a bien été ajouté ! <?php echo $temps;?> | |
55 | + Le capteur a bien été ajouté ! | |
56 | 56 | </div> |
57 | 57 | <meta http-equiv="Refresh" content="3;url=accueil.php" /> |
58 | 58 | <?php | ... | ... |