17 lines
560 B
PHP
Executable File
17 lines
560 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if ($bdd=='demo' || $_SESSION['bdd']=='demo') {
|
|
// faire un test public
|
|
// if ($=='public') {
|
|
include ($includePathAdmin. '/psk/psk.test.php');
|
|
// if ($_SESSION['idProfil']==1) include ('idPInter.test.php');
|
|
// if ($_SESSION['idProfil']==2)
|
|
include ('idExpert.test.php');
|
|
}
|
|
else {
|
|
include ($includePathAdmin. '/psk/psk.prod.php');
|
|
// if ($_SESSION['idProfil']==1) include ('idPInter.prod.php');
|
|
// if ($_SESSION['idProfil']==2)
|
|
include ('idExpert.prod.php');
|
|
}
|
|
?>
|