From: Andrew Dolgov Date: Sun, 17 Mar 2013 11:59:37 +0000 (+0400) Subject: add startup check for iconv (refs #571) X-Git-Tag: 1.7.5~147 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8b45a5d907c8b9cc3b9d25433bc85bcd08925d4f;p=tt-rss.git add startup check for iconv (refs #571) --- diff --git a/include/sanity_check.php b/include/sanity_check.php index 5cb55674..fcf54870 100644 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -117,6 +117,10 @@ 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")) { array_push($errors, "PHP safe mode setting is not supported."); }