summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
authorjvoisin2025-05-13 16:24:50 +0200
committerjvoisin2025-05-13 16:24:50 +0200
commit847afcae9b6a0570dca96e23d8adf94831a09b4c (patch)
tree9f23746840bcb76cdb3b75502a7c83b15b3c86a3 /src/sp_config_keywords.c
parentf31381db897989b8341cf4936b7bff829981d837 (diff)
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.
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c1
1 files changed, 0 insertions, 1 deletions
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) {
148 {parse_uint, SP_TOKEN_MAX_EXECUTION_DEPTH, &(SPCFG(max_execution_depth))}, 148 {parse_uint, SP_TOKEN_MAX_EXECUTION_DEPTH, &(SPCFG(max_execution_depth))},
149 {parse_enable, SP_TOKEN_SERVER_ENCODE, &(SPCFG(server_encode))}, 149 {parse_enable, SP_TOKEN_SERVER_ENCODE, &(SPCFG(server_encode))},
150 {parse_enable, SP_TOKEN_SERVER_STRIP, &(SPCFG(server_strip))}, 150 {parse_enable, SP_TOKEN_SERVER_STRIP, &(SPCFG(server_strip))},
151 {parse_enable, SP_TOKEN_SHOW_OLD_PHP_WARNING, &(SPCFG(show_old_php_warning))},
152 {0, 0, 0}}; 151 {0, 0, 0}};
153 152
154 SP_PROCESS_CONFIG_KEYWORDS_ERR(); 153 SP_PROCESS_CONFIG_KEYWORDS_ERR();