mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update to v10
This commit is contained in:
parent
8f8191edd5
commit
b9b43d1455
4 changed files with 18 additions and 12 deletions
|
@ -25,3 +25,5 @@ define("CONNEXION_COMPTE", true);
|
||||||
|
|
||||||
define("CSV_SEP", ";");
|
define("CSV_SEP", ";");
|
||||||
|
|
||||||
|
define("PHP_SECURE_COOKIES", true);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"app": "moncycle.app",
|
"app": "moncycle.app",
|
||||||
"version": "9.0~ynh7",
|
"version": "10.0~ynh1",
|
||||||
"build": "2024-02-19",
|
"build": "2024-02-20",
|
||||||
"commit": "2eaf8d5"
|
"commit": "31f2dd5"
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Moncycle"
|
||||||
description.en = "Menstrual cycle follow-up for natural family planning"
|
description.en = "Menstrual cycle follow-up for natural family planning"
|
||||||
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
|
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
|
||||||
|
|
||||||
version = "9.0~ynh7"
|
version = "10.0~ynh1"
|
||||||
|
|
||||||
maintainers = ["Raoul de Limezy"]
|
maintainers = ["Raoul de Limezy"]
|
||||||
|
|
||||||
|
@ -34,8 +34,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/jean-io/moncycle.app/archive/2eaf8d5765423276f2f16816fb62218f6b311555.zip"
|
url = "https://github.com/jean-io/moncycle.app/archive/31f2dd5272d617de30ee58e79052b3af7ae5b5d4.zip"
|
||||||
sha256 = "a193698c38d3d22eacbd41f9c8a1c9253748469571711c7781868521bf678da7"
|
sha256 = "7f8fd2f7b28c16a308a67f476b34f2797b10a8f6285c36aa71b6876b845baf80"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,23 @@
|
||||||
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
|
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
|
||||||
index 9b58b50..1a538e6 100644
|
index 9b58b50..0112cc5 100644
|
||||||
--- a/www_data/lib/mail.php
|
--- a/www_data/lib/mail.php
|
||||||
+++ b/www_data/lib/mail.php
|
+++ b/www_data/lib/mail.php
|
||||||
@@ -15,12 +15,12 @@ function mail_init(){
|
@@ -12,16 +12,14 @@ use PHPMailer\PHPMailer\PHPMailer;
|
||||||
|
|
||||||
|
function mail_init(){
|
||||||
|
$mail = new PHPMailer();
|
||||||
|
-
|
||||||
$mail->isSMTP();
|
$mail->isSMTP();
|
||||||
$mail->Host = SMTP_HOST;
|
$mail->Host = SMTP_HOST;
|
||||||
- $mail->SMTPAuth = true;
|
- $mail->SMTPAuth = true;
|
||||||
|
+ $mail->SMTPAuth = false;
|
||||||
$mail->Username = SMTP_MAIL;
|
$mail->Username = SMTP_MAIL;
|
||||||
$mail->Password = SMTP_PASSWORD;
|
$mail->Password = SMTP_PASSWORD;
|
||||||
- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
|
- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
|
||||||
|
+ $mail->SMTPSecure = false;
|
||||||
$mail->Port = SMTP_PORT;
|
$mail->Port = SMTP_PORT;
|
||||||
$mail->CharSet = 'UTF-8';
|
$mail->CharSet = 'UTF-8';
|
||||||
+ $mail->SMTPAuth = false;
|
-
|
||||||
+ $mail->SMTPSecure = false;
|
|
||||||
|
|
||||||
$mail->setFrom(SMTP_MAIL, 'moncycle.app');
|
$mail->setFrom(SMTP_MAIL, 'moncycle.app');
|
||||||
return $mail;
|
return $mail;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue