diff options
author | Nikita Popov <nikic@php.net> | 2016-01-30 14:56:17 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-01-30 15:35:28 +0100 |
commit | 93dc91b386b53bdd317ea6abd70640e2bbfbaf73 (patch) | |
tree | d41b6d2baf80da77c154a4174634d6728e86bb31 /ext/enchant/enchant.c | |
parent | 2eb4728611ac9ff6aa77fece737470beabe1db62 (diff) | |
download | php-git-93dc91b386b53bdd317ea6abd70640e2bbfbaf73.tar.gz |
Remove version checks
PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2
I've left litespeed alone, as it seems to genuinely maintain support
for many PHP versions.
Diffstat (limited to 'ext/enchant/enchant.c')
-rw-r--r-- | ext/enchant/enchant.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/enchant/enchant.c b/ext/enchant/enchant.c index e2428b7830..ef2634918f 100644 --- a/ext/enchant/enchant.c +++ b/ext/enchant/enchant.c @@ -587,11 +587,7 @@ PHP_FUNCTION(enchant_broker_request_pwl_dict) RETURN_FALSE; } -#if PHP_API_VERSION < 20100412 - if ((PG(safe_mode) && (!php_checkuid(pwl, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(pwl)) { -#else if (php_check_open_basedir(pwl)) { -#endif RETURN_FALSE; } |