33 lines
1.2 KiB
PHP
Executable File
33 lines
1.2 KiB
PHP
Executable File
<?php
|
|
// la mise en session des variables transverses
|
|
|
|
// -----------------------------------------------------
|
|
// Page admin
|
|
// -----------------------------------------------------
|
|
if (!empty($affAdmin)) $_SESSION['affAdmin']=$affAdmin;
|
|
if (!empty($prodServer)) $_SESSION['prodServer']=$prodServer;
|
|
if (isset($lg) && $lg!='') $_SESSION['lg']=$lg;
|
|
if (!empty($nomThemeCss)) $_SESSION['nomThemeCss']=$nomThemeCss;
|
|
// pas de if empty pour les booleans
|
|
$_SESSION['modeTest']=$modeTest;
|
|
|
|
|
|
// -----------------------------------------------------
|
|
// Var textes
|
|
// -----------------------------------------------------
|
|
if (!empty($textesAffSection)) $_SESSION['textesAffSection']=$textesAffSection;
|
|
if (!empty($idLanguenav)) $_SESSION['idLanguenav']=$idLanguenav;
|
|
if (!empty($numTxt)) $_SESSION['numTxt']=$numTxt;
|
|
|
|
// -----------------------------------------------------
|
|
// Fin connexion
|
|
// -----------------------------------------------------
|
|
$idPdo=null;
|
|
$idPdoProd=null;
|
|
$connexion=null;
|
|
|
|
// -----------------------------------------------------
|
|
// Arrêter le spinner
|
|
// -----------------------------------------------------
|
|
echo '<script type="text/javascript" >offSpinnerAdmin();</script>';
|
|
?>
|