| Current Path : /home/happyrenas/myreco.online/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/happyrenas/myreco.online/configuration.php |
<?php
if(session_id() == '')
{
$lifetime=60*60*24*20; //20 jours
ini_set('session.gc_maxlifetime', $lifetime);
ini_set('session.cookie_lifetime', $lifetime);
session_start();
}
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
ini_set('display_errors', 1);
ini_set('log_errors', TRUE);
ini_set('error_log', '/home/happyrenas/myreco.online/administration/panel/error.log');
date_default_timezone_set('Europe/Paris');
setlocale(LC_MONETARY, 'fr_FR');
//define('db_name', 'proton2_myreco');
//define('db_user', 'proton2_myreco');
//define('db_password', 'z25Mop*^x[dA');
//define('db_host', 'localhost');
define('db_name', 'myreco');
define('db_user', 'myreco');
define('db_password', 'Hc4z9kQw4amKjB');
define('db_host', 'dj451119-001.eu.clouddb.ovh.net:35680');
define('encoding', 'utf8');
define('BASE_URL', 'https://www.myreco.online');
include("includes/ez_sql_core.php");
include("includes/ez_sql_mysqli.php");
$db = new ezSQL_mysqli(db_user,db_password,db_name,db_host,encoding);
$titre_application = "MYRECO.ONLINE";
$icone = "img/icone.png";
$couleur_bordure = "#3E66B7;";
define('DOSSIER_RACINE', '/home/happyrenas/myreco.online');
$dossier_de_base = "/home/happyrenas/myreco.online";
$dossier_admin_de_base = "/home/happyrenas/myreco.online/administration/panel/";
$url_base = "https://www.myreco.online/";
$url_admin_base = "https://www.myreco.online/administration/panel/";
$maildefaut_from = "noreply@my-reco.online";
$maildefaut_from_name = "MyReco";
$maildefaut_reply = "noreply@my-reco.online";
$message_erreur_js = "L\'application a rencontré une erreur inattendue.";
$couleur_bleuclair = "#3E66B7;";
$tableau_utilisateur_type[1] = "Super Admin";
$apiKey = 'AIzaSyDFthBXPhTlGrpw96tSeVR0wzObEfd_-Ag';
$GOOGLE_FRONT_KEY = 'AIzaSyCujzKJrmyDkCYadWLokv4kK6fzcH1Vjpc';
$GOOGLE_SERVER_KEY = 'AIzaSyCFrady5B3Vg5o5OZ-2wcgvwHGvMzL2nlU';
$pays = [
"FR" => [
"country_code" => "FR",
"drapeau_big" => "img/flag/drapeau_france.png",
"habillage" => "img/habillage/habillage_france.png",
"classe_color" => "text-success",
"hebergement" => [
"nb_departement" => 95,
],
"visite" => [
"nb_departement" => 95,
]
],
"IT" => [
"country_code" => "IT",
"drapeau_big" => "img/flag/drapeau_italie.png",
"habillage" => "img/habillage/habillage_france.png",
"classe_color" => "text-warning",
"hebergement" => [
"nb_departement" => 87,
],
"visite" => [
"nb_departement" => 100,
]
],
"ES" => [
"country_code" => "ES",
"drapeau_big" => "img/flag/drapeau_espagne.png",
"habillage" => "img/habillage/habillage_france.png",
"classe_color" => "text-primary",
"hebergement" => [
"nb_departement" => 87,
],
"visite" => [
"nb_departement" => 95,
]
]
];
$langues = ['FR', 'IT', 'ES', 'EN'];
$limites = ['proche' => 36, 'median' => 21, 'lointain' => 12];
$auth_activation="a8d18a13119adaf6ba45057cfcc8c44f";
$auth_activation_lite="b4b48350e6dc47d10f6e21217505a373";
$statuts = [
1 => [
"label" => "Actif",
"classe" => "label-light-success"
],
2 => [
"label" => "Inactif",
"classe" => "label-light-warning"
]
];
$tableau_categorie = [
"a_voir" => [
"label" => "A VOIR",
"classe" => "primary",
"icon" => "fas fa-eye"
],
"ludique" => [
"label" => "LUDIQUE",
"classe" => "warning",
"icon" => "fas fa-gamepad"
],
"restaurant" => [
"label" => "RESTAURANT",
"classe" => "danger",
"icon" => "fas fa-utensils"
],
"soiree" => [
"label" => "SOIREE",
"classe" => "info",
"icon" => "fas fa-cocktail"
]
];
$tableau_affichage_sur_qrcode = [
0 => [
"label" => "NON",
"classe" => "danger",
"icon" => "fas fa-times" // ❌ croix
],
1 => [
"label" => "OUI",
"classe" => "success",
"icon" => "fas fa-check" // ✅ coche
]
];
$liste_equipements = ['Piscine', 'Jacuzzi', 'Hammam', 'Barbecue', 'Plancha'];
$liste_activites = [
'Toboggans piscine', 'Ping Pong', 'Pétanque',
'Babyfoot', 'Billard', 'Fléchette', 'Jeux de raquette'
];
$types_hebergement = [
'hotel' => 'Hôtel',
'location' => 'Location',
'camping' => 'Camping'
];
$options_parking = [
'aucun' => 'Pas de parking',
'ouvert' => 'Parking ouvert',
'ferme' => 'Parking fermé'
];
$categories_proprio = [
'categorie a voir detaillée' => 'A voir (les lieux patrimoniaux, culturels, incontournables de votre région.)',
'categorie ludique detaillée' => 'Ludique (les meilleures activités ludiques, sportives ou familiales.)',
'categorie restaurant detaillée' => 'Restaurant (les restaurants les plus appréciés à proximité.)',
'categorie en soirée detaillée' => 'En soirée (les bars thématiques pour se divertir en soirée.)',
'categorie autre detaillée' => 'Autre (tous les lieux qui ne correspondent pas autres catégories)',
];
$categories = ['a_voir', 'restaurant', 'ludique', 'soiree'];
if(!$_SESSION['theme_centrage']) {$_SESSION['theme_centrage'] = "non";}
if ($db->escape($_REQUEST['theme_centrage'])) {
$_SESSION['theme_centrage'] = $db->escape($_REQUEST['theme_centrage']);
}
if ($_SESSION['theme_centrage']=="oui") {$container_type="container";}
if ($_SESSION['theme_centrage']=="non") {$container_type="container-fluid";}
if(!$_SESSION['theme_sombre']) {$_SESSION['theme_sombre'] = "non";}
if ($db->escape($_REQUEST['theme_sombre'])) {
$_SESSION['theme_sombre'] = $db->escape($_REQUEST['theme_sombre']);
}
if($_SESSION['theme_sombre']=="oui") {$couleur_bandeau="#172338";}
if($_SESSION['theme_sombre']=="non") {$couleur_bandeau="#FFFFFF";}
define('SMTP_USER', 'contact@myreco.online');
define('SMTP_PASS', '4eDc8Sw76EjuD175'); //
define('ADMIN_EMAIL', 'contact@myreco.online');
define('EMAIL_BCC', 'philippe-jean@outlook.fr');
//define('ADMIN_EMAIL', 'happy.rentals.info@gmail.com'); // destinataire (toi)
//define('ADMIN_EMAIL', 'philippe-jean@outlook.fr'); // destinataire (toi)
define('TURNSTILE_SITE_KEY', '0x4AAAAAAC9TbjMOFT7OCw24');
define('TURNSTILE_SECRET_KEY', '0x4AAAAAAC9TbpOpEm5YvKcidrc0MIa19A0');
?>