]> git.wh0rd.org Git - tt-rss.git/commitdiff
sanity check: add test for ctype_lower (refs #374)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 18 Oct 2011 06:44:23 +0000 (10:44 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 18 Oct 2011 06:44:32 +0000 (10:44 +0400)
sanity_check.php

index 9009cbc24c1ee431d4c3110552a7e55268574df4..0c803d883bd0e96c8a8caae35bff7cbb0785ddec 100644 (file)
                $err_msg = "PHP: mbstring functions not found.";
        }
 
+       if (!function_exists("ctype_lower")) {
+               $err_msg = "PHP: ctype functions not found (required for HTMLPurifier).";
+       }
+
        if (ini_get("safe_mode")) {
                $err_msg = "php.ini: Safe mode is not supported. If you wish to continue, remove this test from sanity_check.php and proceeed at your own risk. Please note that your bug reports will not be accepted or reviewed.";
        }