summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorHeiko Adams <[email protected]>2015-11-30 10:29:44 +0100
committerHeiko Adams <[email protected]>2015-11-30 10:29:44 +0100
commit05761788b7b5a8a7e6c14333669acd0793886223 (patch)
tree464ccc3d98900e5dcf1a437662056161fa1280a4 /include/sanity_check.php
parent635ecdb9fa039adb8a0e8ead045bfda023e72bc4 (diff)
parent6f5d9c6889b6376527d7598857ac8816cf7980ab (diff)
Merge remote-tracking branch 'origin/master' into german-translation
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-x[-rw-r--r--]include/sanity_check.php8
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.");
}