diff --git a/scripts/install b/scripts/install index d14e69c..5f523ff 100644 --- a/scripts/install +++ b/scripts/install @@ -107,7 +107,7 @@ ynh_add_fpm_config phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) # copy index file -#cp ../conf/index.php $final_path/ +cp ../conf/index.php $final_path/ #================================================= #================================================= @@ -120,29 +120,18 @@ ynh_add_config --template="../conf/config-sample.php" --destination="$final_path chmod 600 "$final_path/user/config.php" chown $app:$app "$final_path/user/config.php" -#================================================= -# SETUP SSOWAT -#================================================= -ynh_script_progression --message="Configuring permissions..." --weight=1 - -# unprotected_uris allows SSO credentials to be passed anyway. -ynh_permission_update --permission="main" --add="visitors" - #================================================= # SETUP APPLICATION WITH CURL #================================================= -# # Set the app as temporarily public for curl call -# ynh_script_progression --message="Configuring SSOwat..." --weight=1 -# # Making the app public for curl -# ynh_permission_update --permission="main" --add="visitors" +# Set the app as temporarily public for curl call +ynh_script_progression --message="Configuring SSOwat..." --weight=1 +# Making the app public for curl +ynh_permission_update --permission="main" --add="visitors" -# # Installation with curl -# ynh_script_progression --message="Finalizing installation..." --weight=1 -# ynh_local_curl "admin/install.php" "install=dummy" - -# # Remove the public access -# ynh_permission_update --permission="main" --remove="visitors" +# Installation with curl +ynh_script_progression --message="Finalizing installation..." --weight=1 +ynh_local_curl "admin/install.php" "install=dummy" #================================================= # RELOAD NGINX