File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 328328 unset($ output );
329329 }
330330
331- //Add / Delete caching support
331+ // Enable/Disable nginx cache
332332 if (($ _SESSION ['WEB_SYSTEM ' ] == 'nginx ' ) && ($ v_nginx_cache != $ _POST ['v_nginx_cache ' ] ) && (empty ($ _SESSION ['error_msg ' ]))) {
333333 if ( $ _POST ['v_nginx_cache ' ] == 'yes ' ) {
334- exec (HESTIA_CMD ."v-add-web-domain-fast-cgi -cache " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
334+ exec (HESTIA_CMD ."v-add-fastcgi -cache " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
335335 check_return_code ($ return_var ,$ output );
336336 unset($ output );
337337 } else {
338- exec (HESTIA_CMD ."v-delete-web-domain-fast-cgi -cache " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
338+ exec (HESTIA_CMD ."v-delete-fastcgi -cache " .$ v_username ." " .escapeshellarg ($ v_domain ), $ output , $ return_var );
339339 check_return_code ($ return_var ,$ output );
340340 unset($ output );
341341 }
You can’t perform that action at this time.
0 commit comments