1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-30 12:30:52 +02:00

add startup check for iconv (refs #571)

This commit is contained in:
Andrew Dolgov 2013-03-17 15:59:37 +04:00
parent 16ad9085ea
commit 8b45a5d907

View File

@ -117,6 +117,10 @@
array_push($errors, "PHP support for ctype functions are required by HTMLPurifier."); array_push($errors, "PHP support for ctype functions are required by HTMLPurifier.");
} }
if (!function_exists("iconv")) {
array_push($errors, "PHP support for iconv is required to handle multiple charsets.");
}
if (ini_get("safe_mode")) { if (ini_get("safe_mode")) {
array_push($errors, "PHP safe mode setting is not supported."); array_push($errors, "PHP safe mode setting is not supported.");
} }