diff options
| author | Ben Fuhrmannek | 2022-01-05 20:17:09 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2022-01-05 20:17:09 +0100 |
| commit | acb737ef367f61ee0c0d219ea7272abb56e68e34 (patch) | |
| tree | 16d65f32cdf87f6a20d64ff68e0d711f38a29e48 /src | |
| parent | 15c0a1906f2348408bda41fa422afc6389b8cf85 (diff) | |
skip old php check for testing
Diffstat (limited to 'src')
| -rw-r--r-- | src/snuffleupagus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c index 3baad1b..1ccc412 100644 --- a/src/snuffleupagus.c +++ b/src/snuffleupagus.c | |||
| @@ -367,7 +367,7 @@ static PHP_INI_MH(OnUpdateConfiguration) { | |||
| 367 | (SPCFG(disabled_functions) && zend_hash_num_elements(SPCFG(disabled_functions))) || | 367 | (SPCFG(disabled_functions) && zend_hash_num_elements(SPCFG(disabled_functions))) || |
| 368 | (SPCFG(disabled_functions_ret) && zend_hash_num_elements(SPCFG(disabled_functions_ret))); | 368 | (SPCFG(disabled_functions_ret) && zend_hash_num_elements(SPCFG(disabled_functions_ret))); |
| 369 | 369 | ||
| 370 | if (SPCFG(show_old_php_warning)) { | 370 | if (SPCFG(show_old_php_warning) && getenv("SP_SKIP_OLD_PHP_CHECK") == NULL) { |
| 371 | time_t ts = time(NULL); | 371 | time_t ts = time(NULL); |
| 372 | if (PHP_VERSION_ID < 70300 || | 372 | if (PHP_VERSION_ID < 70300 || |
| 373 | PHP_VERSION_ID < 70400 && ts >= (time_t)1638745200L || | 373 | PHP_VERSION_ID < 70400 && ts >= (time_t)1638745200L || |
