Commit e54e85499104e8546ddd0bd799e5d778bc619f2a

Authored by grouille
1 parent fa33e5b3

MAJ

site/add.php
... ... @@ -12,7 +12,7 @@ session_start();
12 12 <body>
13 13 <?php
14 14 include("header.php");
15   - include("erreurs.php");
  15 + require("erreurs.php");
16 16 if(isset($_SESSION['Login'], $_SESSION['Password']))
17 17 {
18 18 ?>
... ...
site/reception.php
... ... @@ -2,7 +2,7 @@
2 2 session_start();
3 3 require("accesBase.php");
4 4 $err = false;
5   -include("erreurs.php");
  5 +require("erreurs.php");
6 6  
7 7 if(isset($_POST['sensor']))
8 8 {
... ...
site/remove.php
... ... @@ -12,7 +12,7 @@ session_start();
12 12 <body>
13 13 <?php
14 14 include("header.php");
15   - include("erreurs.php");
  15 + require("erreurs.php");
16 16 if(isset($_SESSION['Login'], $_SESSION['Password']))
17 17 {
18 18 ?>
... ...
site/removeRpi.php
... ... @@ -12,7 +12,7 @@ session_start();
12 12 <body>
13 13 <?php
14 14 include("header.php");
15   - include("erreurs.php");
  15 + require("erreurs.php");
16 16 if(isset($_SESSION['Login'], $_SESSION['Password']))
17 17 {
18 18 ?>
... ...
site/stop.php
1 1 <?php
2 2 require_once("accesBase.php");
3   -include("erreurs.php");
  3 +require("erreurs.php");
4 4  
5 5 $arduino_simple = "[Arduino]\r\n";
6 6 $arduino_spi = "[Arduino]\r\n";
... ...