From 847afcae9b6a0570dca96e23d8adf94831a09b4c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 13 May 2025 16:24:50 +0200 Subject: Remove the useless show_old_php_warning feature People are usually well-aware of the outdatedness of the PHP version they're running, which is likely why they're running Snuffleupagus in the first place. This feature shouldn't have been enabled by default, and I fail to see any case where anyone would want to enable it. Moreover, it doesn't take LTS versions from vendors/distributions into account, thus breaking on RHEL/Debian (old)stable. --- src/sp_config_keywords.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/sp_config_keywords.c') diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index ba9ee7c..796b44b 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c @@ -148,7 +148,6 @@ SP_PARSE_FN(parse_global) { {parse_uint, SP_TOKEN_MAX_EXECUTION_DEPTH, &(SPCFG(max_execution_depth))}, {parse_enable, SP_TOKEN_SERVER_ENCODE, &(SPCFG(server_encode))}, {parse_enable, SP_TOKEN_SERVER_STRIP, &(SPCFG(server_strip))}, - {parse_enable, SP_TOKEN_SHOW_OLD_PHP_WARNING, &(SPCFG(show_old_php_warning))}, {0, 0, 0}}; SP_PROCESS_CONFIG_KEYWORDS_ERR(); -- cgit v1.3