Commit b3b880d6 authored by Pâquerette Instance's avatar Pâquerette Instance
Browse files

Utilisation du .env

parent aff470cd
......@@ -7,11 +7,6 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';
$site_url = 'https://{{ app_domain }}';
# Mercanet
$merchant_id = '{{ mercanet_merchant_id }}';
$secret_key = '{{ mercanet_key }}';
$mercanet_url = '{{ mercanet_url }}';
function setSendingParams($mail) {
$mail->isSMTP();
$mail->Host = 'localhost';
......
......@@ -8,11 +8,6 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';
$site_url = 'https://{{ app_domain }}';
# Mercanet
$merchant_id = {{ mercanet_merchant_id }};
$secret_key = {{ mercanet_key }};
$mercanet_url = {{ mercanet_url }};
function setSendingParams($mail) {
$mail->Mailer = '{{ mail_protocol | default() }}';
$mail->SMTPSecure = {{ mail_secure | default() }};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment