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

Merge pull request #8 from Limezy/fix-session

Fix session
This commit is contained in:
Limezy 2023-03-28 00:04:03 +07:00 committed by GitHub
commit b92e9594b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/jean-io/moncycle.app/archive/655ba524a3bf664c5f230812efc0932dfc5416bc.zip
SOURCE_SUM=38425dd1668ec2edc6d326973a794977fddf3cceb703f2cebd70674891617a14
SOURCE_URL=https://github.com/jean-io/moncycle.app/archive/9c15d501269f5873091b5914fd2a7f155d22ba04.zip
SOURCE_SUM=bd5c5e0b6d1b9ed7206aeef08f6b371319d349fe17c15305623740333a33da54
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -13,4 +13,5 @@
; Session lifetime to avoid disconnections on PWA mode
php_admin_value[session.gc_maxlifetime] = 2592000
php_admin_value[session.cookie_lifetime] = 2592000
php_admin_value[session.cookie_lifetime] = 2592000
php_value[session.save_path] = /var/www/__APP__/sessions

View file

@ -6,7 +6,7 @@
"en": "Menstrual cycle follow-up for natural family planning",
"fr": "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
},
"version": "7.0~ynh2",
"version": "7.0~ynh4",
"url": "https://moncycle.app",
"upstream": {
"license": "CC-BY-NC-SA-4.0",

View file

@ -86,6 +86,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path"
ynh_exec_warn_less mkdir "$final_path/sessions"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"

View file

@ -86,6 +86,7 @@ popd
ynh_setup_source --dest_dir="$final_path" --full_replace=1
chmod 750 "$final_path"
ynh_exec_warn_less mkdir "$final_path/sessions"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"