Commit dd22c39cb7a3eae25432640333823ac53bc688f2

Authored by grouille
1 parent 7cc0aed3

MAJ

Showing 3 changed files with 9 additions and 9 deletions   Show diff stats
site/remove.php
... ... @@ -26,9 +26,9 @@ session_start();
26 26 $version = getVersion($nom);
27 27 if(remove($nom))
28 28 {
29   - $arduino_simple = "[Arduino_delete]\r\n";
30   - $arduino_spi = "[Arduino_delete]\r\n";
31   - $nucleo = "[Nucleo_delete]\r\n";
  29 + $arduino_simple = "[Arduino]\r\n";
  30 + $arduino_spi = "[Arduino]\r\n";
  31 + $nucleo = "[Nucleo]\r\n";
32 32  
33 33 if($version == 0)
34 34 {
... ...
site/removeRpi.php
... ... @@ -23,9 +23,9 @@ session_start();
23 23 $capteurs = getSensorByRaspberry($_POST['ip']);
24 24  
25 25 $ini = "";
26   - $arduino_simple = "[Arduino_delete]\r\n";
27   - $arduino_spi = "[Arduino_delete]\r\n";
28   - $nucleo = "[Nucleo_delete]\r\n";
  26 + $arduino_simple = "[Arduino]\r\n";
  27 + $arduino_spi = "[Arduino]\r\n";
  28 + $nucleo = "[Nucleo]\r\n";
29 29  
30 30 $a_simple = false;
31 31 $a_spi = false;
... ...
site/stop.php
... ... @@ -2,9 +2,9 @@
2 2 require_once("accesBase.php");
3 3 include("data.php");
4 4  
5   -$arduino_simple = "[Arduino_stop]\r\n";
6   -$arduino_spi = "[Arduino_stop]\r\n";
7   -$nucleo = "[Nucleo_stop]\r\n";
  5 +$arduino_simple = "[Arduino]\r\n";
  6 +$arduino_spi = "[Arduino]\r\n";
  7 +$nucleo = "[Nucleo]\r\n";
8 8  
9 9 $version = getVersion($_POST['nom']);
10 10  
... ...