summaryrefslogtreecommitdiff
path: root/Wrapper/Functions/func_language.php
diff options
context:
space:
mode:
Diffstat (limited to 'Wrapper/Functions/func_language.php')
-rw-r--r--Wrapper/Functions/func_language.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/Wrapper/Functions/func_language.php b/Wrapper/Functions/func_language.php
deleted file mode 100644
index ae54da0..0000000
--- a/Wrapper/Functions/func_language.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-// ****************************************************************************
-// Description: Modification de la variable lang de la session
-// qui sert à définir quel dossier de language importer
-// ****************************************************************************
-function set_language($language) {
- $_SESSION["lang"] = $language;
- // Redirection vers la page actuelle avec la langue à affiche.
- if ($_SESSION["src"] == "index") {
- header("Location: /".$_SESSION["src"].".php");
- } else {
- header("Location: /Views/".$_SESSION["src"].".php");
- }
- die();
-}
-?> \ No newline at end of file