We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2930c commit 0186114Copy full SHA for 0186114
web/edit/web/index.php
@@ -337,7 +337,7 @@
337
}
338
339
// Enable/Disable nginx cache
340
- if (($_SESSION['WEB_SYSTEM'] == 'nginx') && ($v_nginx_cache_check != $_POST['v_nginx_cache_check'] ) && ($v_nginx_cache_duration != $_POST['v_nginx_cache_duration'] && $_POST['v_nginx_cache'] = "yes" ) && (empty($_SESSION['error_msg']))) {
+ if (($_SESSION['WEB_SYSTEM'] == 'nginx') && ($v_nginx_cache_check != $_POST['v_nginx_cache_check'] ) || ($v_nginx_cache_duration != $_POST['v_nginx_cache_duration'] && $_POST['v_nginx_cache'] = "yes" ) && (empty($_SESSION['error_msg']))) {
341
if ( $_POST['v_nginx_cache_check'] == 'on' ) {
342
if (empty ($_POST['v_nginx_cache_duration'])){
343
echo $_POST['v_nginx_cache_duration'] = "2m";
0 commit comments