Init Git Prod Mars 2026
This commit is contained in:
commit
d81efe93b1
362 files changed
+86627
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
// Interdit l'accès direct au fichier dans un navigateur
|
||||
if (isset($_SERVER['SCRIPT_FILENAME']) && realpath(__FILE__) === realpath($_SERVER['SCRIPT_FILENAME'])) {
|
||||
http_response_code(403);
|
||||
exit('Forbidden');
|
||||
}
|
||||
|
||||
// Secrets par variables d'environnement (idéal en production)
|
||||
return [
|
||||
// Récupération depuis l'ENV si dispo, sinon fallback
|
||||
'phone_number_id' => getenv('WHATSAPP_PHONE_NUMBER_ID') ?: '720141641193323',
|
||||
'access_token' => getenv('WHATSAPP_TOKEN') ?: 'EAAYZApQ01JR8BPVMSMYVAYHzg6WHfFJW5Q9fyphrxvDl32hIq4X169LujTe0ffmlscl5t0vEFuYJrjNUCWFBHYOUGRJU5UT4QQYJb1TwqFH1Pn9ZBu9UeAi0cp6vUKmKNV40B3JlN1bhE2u0czZBX8dXko3Oh97dCIMijcY4Ib88aZCMUBxjBzsSQuk7Rl52QwZDZD',
|
||||
// Langue par défaut de tes templates
|
||||
'default_lang' => 'ru',
|
||||
// Timeout réseau cURL
|
||||
'timeout' => 20,
|
||||
];
|
||||
Reference in new issue
Block a user