diff options
author | Andrew Dolgov <[email protected]> | 2015-11-19 20:05:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-11-19 20:05:17 +0300 |
commit | 4c46702672631c0cf84067d6f2c55b3bfda1db6f (patch) | |
tree | c9e69577fab4ce761043d696e289261afb632452 /include/sanity_check.php | |
parent | 6497fb65b439f02cf145c2d0eb4e40803641fbb4 (diff) |
drop support for (obsolete, removed from recent php versions) php safe_mode setting
remove ugly hacks for curl + open_basedir combination breaking support for http redirects
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-x[-rw-r--r--] | include/sanity_check.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php index 6bec43051..be314f4e2 100644..100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -134,14 +134,10 @@ array_push($errors, "PHP support for hash() function is required but was not found."); } - if (!function_exists("ctype_lower")) { - array_push($errors, "PHP support for ctype functions are required by HTMLPurifier."); + if (ini_get("safe_mode")) { + array_push($errors, "PHP safe mode setting is obsolete and not supported by tt-rss."); } - /* if (ini_get("safe_mode")) { - array_push($errors, "PHP safe mode setting is not supported."); - } */ - if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) { array_push($errors, "PHP support for CURL is required for PubSubHubbub."); } |