summaryrefslogtreecommitdiff
path: root/ext/enchant/enchant.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-01-30 14:56:17 +0100
committerNikita Popov <nikic@php.net>2016-01-30 15:35:28 +0100
commit93dc91b386b53bdd317ea6abd70640e2bbfbaf73 (patch)
treed41b6d2baf80da77c154a4174634d6728e86bb31 /ext/enchant/enchant.c
parent2eb4728611ac9ff6aa77fece737470beabe1db62 (diff)
downloadphp-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.c4
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;
}