Commit 294b1c6aa466709b6434be42790a0dcf1609bbb9

Authored by grouille
1 parent 6cea6d00

MAJ

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -47,12 +47,12 @@ session_start(); @@ -47,12 +47,12 @@ session_start();
47 setup($_POST['raspberry']); 47 setup($_POST['raspberry']);
48 48
49 $temps = getTime($_POST['type']); 49 $temps = getTime($_POST['type']);
50 - file_put_contents('upload/temps', $temps); 50 + file_put_contents('upload/temps.txt', $temps);
51 51
52 exec("super cmd.sh"); 52 exec("super cmd.sh");
53 ?> 53 ?>
54 <div class="alert alert-success" role="alert"> 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 </div> 56 </div>
57 <meta http-equiv="Refresh" content="3;url=accueil.php" /> 57 <meta http-equiv="Refresh" content="3;url=accueil.php" />
58 <?php 58 <?php