17 lines
666 B
PHP
Executable File
17 lines
666 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
// on perd la session ici, car page neuve, donc je remets databaseconnect pour savoir si prod
|
|
|
|
// $includePathConf="../_conf";
|
|
// include ("../_include/dataBaseConnect.php");
|
|
if ($bdd=='demo' || $_SESSION['ENVIRONNEMENT']=='local') {
|
|
include ($includePathAdmin. '/psk/psk.test.php');
|
|
if ($_SESSION['cliOpt']==2) include ('idPInter.test.php');
|
|
if ($_SESSION['cliOpt']==3) include ('idExpert.test.php');
|
|
}
|
|
else {
|
|
include ($includePathAdmin. '/psk/psk.prod.php');
|
|
if ($_SESSION['cliOpt']==2) include ('idPInter.prod.php');
|
|
if ($_SESSION['cliOpt']==3) include ('idExpert.prod.php');
|
|
}
|
|
?>
|