mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Fix
This commit is contained in:
parent
f8b12a1c28
commit
b1f0d50965
2 changed files with 6 additions and 0 deletions
|
@ -39,3 +39,7 @@ INSERT INTO `lime_plugin_settings` (`id`, `plugin_id`, `model`, `model_id`, `key
|
|||
(21, 5,NULL,NULL,'is_default','\"1\"');
|
||||
|
||||
INSERT INTO `lime_settings_global` VALUES ('defaultlang','__LANGUAGE__'),('AssetsVersion','2620');
|
||||
|
||||
{% if __IS_PUBLIC__ == "1" %}
|
||||
UPDATE `lime_plugin_settings` SET value='\"0\"' WHERE `id`=21;
|
||||
{% endif %}
|
||||
|
|
|
@ -135,6 +135,8 @@ ynh_add_config --template="../conf/data.sql" --destination="$final_path/data.sql
|
|||
|
||||
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < $final_path/data.sql
|
||||
|
||||
ynh_secure_remove --file=$final_path/data.sql
|
||||
|
||||
#if [ $is_public -eq 1 ]
|
||||
#then
|
||||
# ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" <<< "UPDATE `lime_plugin_settings` SET value='\"0\"' WHERE `id`=21;"
|
||||
|
|
Loading…
Reference in a new issue