Skip to content

Commit 89d2ebf

Browse files
committed
$v_nginx_cache was set to no instead empty
1 parent 632b416 commit 89d2ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/admin/edit_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
<?php if($_SESSION['WEB_SYSTEM'] == 'nginx'){?>
383383
<tr>
384384
<td class="vst-text">
385-
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_nginx_cache_check" <?php if (!empty($v_nginx_cache)) echo "checked=yes" ?> onclick="javascript:elementHideShow('v_nginx_duration');"><?php print _('Enable FastCGI Cache'); ?> <a href="https://docs.hestiacp.com/admin_docs/nginx_caching.html" target="_blank"><i class="fas fa-question-circle"></i></a></label>
385+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_nginx_cache_check" <?php if ($v_nginx_cache == 'yes') echo "checked=yes" ?> onclick="javascript:elementHideShow('v_nginx_duration');"><?php print _('Enable FastCGI Cache'); ?> <a href="https://docs.hestiacp.com/admin_docs/nginx_caching.html" target="_blank"><i class="fas fa-question-circle"></i></a></label>
386386
</td>
387387
</tr>
388388
<tr>

0 commit comments

Comments
 (0)