Commit e54e85499104e8546ddd0bd799e5d778bc619f2a

Authored by grouille
1 parent fa33e5b3

MAJ

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