瀏覽代碼

remove

Deprecated config-cache global.
Cristhian Martínez Ochoa 3 年之前
父節點
當前提交
4c3360e4ed
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 0 1
      lib/general
  2. 1 1
      usr/webinoly

+ 0 - 1
lib/general

@@ -1316,7 +1316,6 @@ config_fastcgi_cache() {
 	else
 	else
 		local timefile="/etc/nginx/conf.d/fastcgi.conf"
 		local timefile="/etc/nginx/conf.d/fastcgi.conf"
 		local mainfile="/etc/nginx/conf.d/fastcgi.conf"
 		local mainfile="/etc/nginx/conf.d/fastcgi.conf"
-		[[ -n $config_cache && -z $cache_valid ]] && cache_valid=$config_cache  # Will be removed!
 	fi
 	fi
 	
 	
 
 

+ 1 - 1
usr/webinoly

@@ -57,7 +57,7 @@ elif [[ -n $login_www_data ]]; then
 	nginx_not="true" # Nginx-Reload not-needed.
 	nginx_not="true" # Nginx-Reload not-needed.
 	
 	
 	
 	
-elif [[ -n $cache_valid || -n $config_cache ]]; then
+elif [[ -n $cache_valid ]]; then
 	config_fastcgi_cache
 	config_fastcgi_cache