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