From 02fa1c084405fc96ba83a06cd83047ecd8eb22cb Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Wed, 12 Jan 2022 19:08:28 +0100 Subject: make session support a runtime check instead of compile time --- src/sp_config_keywords.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/sp_config_keywords.c') diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index 138da75..3e2b156 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c @@ -39,15 +39,6 @@ SP_PARSE_FN(parse_session) { SP_PROCESS_CONFIG_KEYWORDS_ERR(); -#if (!HAVE_PHP_SESSION || defined(COMPILE_DL_SESSION)) - sp_log_err("config", - "You're trying to use the session cookie encryption feature " - "on line %zu without having session support statically built into PHP. " - "This isn't supported, see " - "https://github.com/jvoisin/snuffleupagus/issues/278 for details.", parsed_rule->lineno); - return SP_PARSER_ERROR; -#endif - if (cfg->encrypt) { if (!SPCFG(cookies_env_var)) { sp_log_err("config", "You're trying to use the session cookie encryption feature " -- cgit v1.3