diff --git a/conf/config.php b/conf/config.php new file mode 100755 index 0000000..1246da0 --- /dev/null +++ b/conf/config.php @@ -0,0 +1,32 @@ + diff --git a/scripts/install b/scripts/install index bb3e197..957632e 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,7 @@ ynh_print_info "Installing dependencies..." ### - As well as the section "REINSTALL DEPENDENCIES" in the restore script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script -ynh_install_app_dependencies php7.0-mbstring +#ynh_install_app_dependencies php7.0-mbstring #================================================= # CREATE A MYSQL DATABASE @@ -126,11 +126,11 @@ ynh_system_user_create $app # MODIFY A CONFIG FILE #================================================= -cp -a ../conf/config_inc.php.sample $final_path/config/config_inc.php.sample +cp -a ../conf/config.php $final_path/config/config.php -ynh_replace_string "yunouser" "$db_name" "$final_path/config/config_inc.php.sample" -ynh_replace_string "yunopass" "$db_pwd" "$final_path/config/config_inc.php.sample" -ynh_replace_string "yunobase" "$db_name" "$final_path/config/config_inc.php.sample" +ynh_replace_string "yunouser" "$db_name" "$final_path/config/config.php" +ynh_replace_string "yunopass" "$db_pwd" "$final_path/config/config.php" +ynh_replace_string "yunobase" "$db_name" "$final_path/config/config.php" #ynh_replace_string "yunomail" "$email" "$final_path/config_inc.php.sample" #ynh_replace_string "yunodomain" "$domain" "$final_path/config_inc.php.sample"