1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Merge branch 'testing' into v9.0.5

This commit is contained in:
Limezy 2024-02-20 00:51:32 +07:00 committed by GitHub
commit 3d2740715d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 2 deletions

View file

@ -35,7 +35,7 @@ Make it easy to monitor menstrual cycles and apply natural methods. Billings. Sy
- automatic sending of cycles by email
- no data sales/no advertising
**Shipped version:** 9.0~ynh3
**Shipped version:** 9.0~ynh4
**Demo:** https://tableau.moncycle.app/connexion.php?email1=demo@moncycle.app&mdp=demo

View file

@ -36,7 +36,7 @@ Rendre facile le suivi des cycles menstruels et lapplication des méthodes na
- pas de vente de données/pas de publicité
**Version incluse :** 9.0~ynh3
**Version incluse :** 9.0~ynh4
**Démo :** https://tableau.moncycle.app/connexion.php?email1=demo@moncycle.app&mdp=demo

View file

@ -37,6 +37,7 @@ location __PATH__/ {
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;

View file

@ -101,6 +101,16 @@ ynh_add_config --template="../conf/moncycleapp.cron" --destination="/etc/cron.d/
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
chmod 400 "$install_dir/config.php"
chown $app:$app "$install_dir/config.php"
#=================================================
# END OF SCRIPT
#=================================================