Browse Source

small improvements

- New external-api point at the end of successfull webinoly update.
- X-Debug pachage remover in purge option.
- A better message for Nginx-Helper plugin.
Cristhian Martínez Ochoa 5 năm trước cách đây
mục cha
commit
003c900aec
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 2
      lib/sites
  2. 1 0
      plugins/webinoly

+ 2 - 2
lib/sites

@@ -18,8 +18,8 @@ wp_cache_plugins() {
 		echo " Please, activate this plugin for a better experience with FastCgi Cache."
 		echo "${blu} ** IMPORTANT - Plugin Settings **"
 		echo "- The “Caching Method” should be set to “Nginx FastCgi Cache”."
-		echo "- Support for purge/url method has been disabled because it is considered a security risk."
-		echo "- The Purge Method should be set to “Delete local server cache file” "
+		echo "- Support for purge/url method is a premium feature only included in NGINX Plus (not-free) and we recommend not to trust in solutions or tools that use third-party NGINX modules to offer this feature."
+		echo "- The Purge Method should be set to “Delete local server cache file”."
 		echo "${end}"
 	else
 		echo "${gre}Nginx Helper Plugin is already installed!${end}"

+ 1 - 0
plugins/webinoly

@@ -19,6 +19,7 @@ if [[ -n $update ]]; then
 		[[ -n $update && $update != true ]] && branch="-ver=${update}" || branch=""
 		sudo wget --timeout=15 -t 1 --referer="https://update.webinoly.com/?ver=${app_version}" -qrO weby https://qrok.es/wyupd && sudo bash weby upd $branch
 		[[ $? == 0 ]] && echo "${gre}Webinoly App has been updated successfully!${end}"
+		api-events_update wy1s
 	else
 		echo "${gre}You currently have the latest version!${end}"
 	fi