a
This commit is contained in:
parent
548ebc8d6e
commit
09c6f93d41
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -1,12 +1,7 @@
|
|||
Config/
|
||||
Config
|
||||
Config/dev.ini
|
||||
Config/prod.ini
|
||||
vendor/
|
||||
vendor
|
||||
logs/
|
||||
logs
|
||||
Cron/prod.ini
|
||||
Temp/
|
||||
Temp
|
||||
*.ssh
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user