mirror of
https://github.com/YunoHost-Apps/opensondage_ynh.git
synced 2024-09-03 19:46:28 +02:00
commit
4a877745aa
3 changed files with 7 additions and 1 deletions
|
@ -431,3 +431,6 @@ chdir = __FINALPATH__
|
||||||
|
|
||||||
php_admin_value[upload_max_filesize] = 10G
|
php_admin_value[upload_max_filesize] = 10G
|
||||||
php_admin_value[post_max_size] = 10G
|
php_admin_value[post_max_size] = 10G
|
||||||
|
|
||||||
|
php_admin_value[session.cookie_httponly] = 1
|
||||||
|
php_admin_value[date.timezone] = __TIMEZONE__
|
||||||
|
|
|
@ -121,6 +121,8 @@ ynh_replace_string --match_string="__ADMINMAIL__" --replace_string=$admin_mail -
|
||||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string=$language --target_file="$config"
|
ynh_replace_string --match_string="__LANGUAGE__" --replace_string=$language --target_file="$config"
|
||||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string=$domain --target_file="$config"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string=$domain --target_file="$config"
|
||||||
ynh_replace_string --match_string="__PATH__" --replace_string=$path_url --target_file="$config"
|
ynh_replace_string --match_string="__PATH__" --replace_string=$path_url --target_file="$config"
|
||||||
|
timezone="$(cat /etc/timezone)"
|
||||||
|
ynh_replace_string --match_string="__TIMEZONE__" --replace_string=$timezone --target_file="$config"
|
||||||
|
|
||||||
# Calculate and store the config file checksum into the app settings
|
# Calculate and store the config file checksum into the app settings
|
||||||
ynh_store_file_checksum --file="$config"
|
ynh_store_file_checksum --file="$config"
|
||||||
|
|
|
@ -165,7 +165,8 @@ then
|
||||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string=$language --target_file="$config"
|
ynh_replace_string --match_string="__LANGUAGE__" --replace_string=$language --target_file="$config"
|
||||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string=$domain --target_file="$config"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string=$domain --target_file="$config"
|
||||||
ynh_replace_string --match_string="__PATH__" --replace_string=$path_url --target_file="$config"
|
ynh_replace_string --match_string="__PATH__" --replace_string=$path_url --target_file="$config"
|
||||||
|
timezone="$(cat /etc/timezone)"
|
||||||
|
ynh_replace_string --match_string="__TIMEZONE__" --replace_string=$timezone --target_file="$config"
|
||||||
# Calculate and store the config file checksum into the app settings
|
# Calculate and store the config file checksum into the app settings
|
||||||
ynh_store_file_checksum --file="$config"
|
ynh_store_file_checksum --file="$config"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue