-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
24 lines (21 loc) · 980 Bytes
/
index.php
File metadata and controls
24 lines (21 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<meta name="title" content="Ecorain, solution d'arrosage automatique">
<meta name="description"
content="Arrosage automatique géré par dom'ISEP avec la solution Ecorain, arroseur intérieur et extérieur">
<meta name="keywords" content="ecorain, domisep, dom'ISEP, arroseur, arrosage automatique, arrosage, ISEP">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="French">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
if (empty($_SESSION)) {
session_start();
}
setlocale(LC_ALL, "fr_FR");
if (isset($_GET['cible']) && !empty($_GET['cible'])) {
$urlControleur = $_GET['cible']; //Controleur appelé : habitation, arroseur, ...
} else {
$urlControleur = 'utilisateurs'; // Controleur de base : utilisateurs
}
include('controleurs/' . $urlControleur . '.php');