This commit is contained in:
KANE LAZENI 2026-04-23 00:31:34 +00:00
parent 548ebc8d6e
commit 09c6f93d41
5 changed files with 0 additions and 12 deletions

5
.gitignore vendored
View File

@ -1,12 +1,7 @@
Config/
Config
Config/dev.ini
Config/prod.ini
vendor/
vendor
logs/
logs
Cron/prod.ini
Temp/
Temp
*.ssh

View File

@ -16,11 +16,9 @@ class Configuration
private static function getParametres()
{
if (self::$parametres == null) {
// $cheminFichier = __DIR__ ."dev.ini";
$cheminFichier = "dev.ini";
if (!file_exists($cheminFichier)) {
// $cheminFichier = __DIR__ ."prod.ini";
$cheminFichier = "prod.ini";
}
if (!file_exists($cheminFichier)) {

View File

@ -161,8 +161,6 @@
$_SESSION['photoAssureCrypte'] = decryptImage($photo);
}
}
// KANE 04/03/2026 => Ne pas déployer prod.ini vers la PROD
}
function afficherMessage($message, $titre) {

View File

@ -6,7 +6,6 @@ racineWeb = /
[BD]
Data Source Name
;En ligne // KANE 04/03/2026 => Ne pas déployer prod.ini vers la PROD
dsn = 'mysql:host=localhost;port=3306;dbname=bdfacturationsas;charset=utf8'
login = intersante
mdp = 5358ue6PDcPxxP3P

View File

@ -17,8 +17,6 @@ class Configuration
{
if (self::$parametres == null) {
$cheminFichier = __DIR__ ."dev.ini";
// require_once __DIR__ .'/Fpdf/fpdf.php';
if (!file_exists($cheminFichier)) {
$cheminFichier = __DIR__ ."prod.ini";
}