Commit 487764bea684b27f762d6bde1aa44914819df11d

Authored by root
1 parent 373ca6d8

Correction site

Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
site/graphique.php
@@ -29,7 +29,7 @@ else $start = $start." 00:00:00"; @@ -29,7 +29,7 @@ else $start = $start." 00:00:00";
29 <br/> 29 <br/>
30 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-chart-line"></i> Graphe du capteur</h1> 30 <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-chart-line"></i> Graphe du capteur</h1>
31 <?php 31 <?php
32 - if(historyExist($nom)) 32 + if(historyExist($nom) && $nombre > 1)
33 { 33 {
34 echo "<img src='graphe.php?nom=$nom&nombre=$nombre&start=$start&end=$end' alt='graphe'>"; 34 echo "<img src='graphe.php?nom=$nom&nombre=$nombre&start=$start&end=$end' alt='graphe'>";
35 } 35 }
site/upload/inventaire.ini
1 -[Arduino]  
2 -172.26.145.113 capteur=1-0  
3 - 1 +[Arduino_init]
  2 +172.26.145.111 capteur=3 setup=1
  3 +