X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/208418c2e083ff46b0de2e5db64844db68112cc1..41cde93bc152ccd48b5fc25d652d288a6a0af016:/lib/functions.php diff --git a/lib/functions.php b/lib/functions.php index 1dd03e5..058d53e 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -569,6 +569,14 @@ function check_errors($cfg) if (!is_writable(VAR_ASYNC)) { add_error(t('ASYNC_DIR_W'), VAR_ASYNC); } + + if ($cfg['enable_crypt'] && $cfg['litespeed_workaround']) { + add_error(t('INCOMPATIBLE_OPTIONS_W'), 'enable_crypt=true
litespeed_workaround=true'); + } + + if ($cfg['one_time_download'] && $cfg['litespeed_workaround']) { + add_error(t('INCOMPATIBLE_OPTIONS_W'), 'one_time_download=true
litespeed_workaround=true'); + } } /**