diff --git a/README.md b/README.md index cfeea25..72a8993 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required. -**Shipped version:** 1.1.19~ynh1 +**Shipped version:** 1.1.19~ynh2 **Demo:** https://framadate.org/ diff --git a/README_fr.md b/README_fr.md index c461c2b..6e7eda8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po OpenSondage est un service en ligne rapide et facile à utiliser pour planifier et programmer de manière collaborative la date et l'heure d'un rendez-vous, d'une réunion ou d'un autre événement. Aucune inscription n'est requise. -**Version incluse :** 1.1.19~ynh1 +**Version incluse :** 1.1.19~ynh2 **Démo :** https://framadate.org/ diff --git a/conf/config.php b/conf/config.php index 465824c..2b02c5e 100644 --- a/conf/config.php +++ b/conf/config.php @@ -88,8 +88,8 @@ $config = [ /* general config */ 'use_smtp' => true, // use email for polls creation/modification/responses notification 'smtp_options' => [ - 'host' => 'localhost', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator - 'auth' => false, // Enable SMTP authentication + 'host' => '__MAIN_DOMAIN__', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator + 'auth' => true, // Enable SMTP authentication 'username' => '__APP__', // SMTP username 'password' => '__MAIL_PWD__', // SMTP password 'secure' => false, // Enable encryption (false, tls or ssl) diff --git a/manifest.toml b/manifest.toml index 0df465a..4697467 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ description.en = "Service for planning an appointment or making a decision quick description.fr = "Service pour planifier un rendez-vous ou prendre une décision rapidement et facilement" description.de = "Service zur schnellen und einfachen Planung eines Termins oder zur Entscheidungsfindung" -version = "1.1.19~ynh1" +version = "1.1.19~ynh2" maintainers = [] diff --git a/scripts/_common.sh b/scripts/_common.sh index ed42679..7c1eb27 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,6 +6,8 @@ YNH_COMPOSER_VERSION="2.1.1" +main_domain=$(cat /etc/yunohost/current_host) + #================================================= # PERSONAL HELPERS #=================================================