diff options
author | Andrew Dolgov <[email protected]> | 2011-10-18 10:44:23 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-10-18 10:44:32 +0400 |
commit | f5b429ef6df728c1b4c15d4dc4878b59f2f788ef (patch) | |
tree | aaa1a569866704c8383c3cc54d56ad45a4859cab /sanity_check.php | |
parent | d6571825bfad3acdef352927392e6d847abcba6d (diff) |
sanity check: add test for ctype_lower (refs #374)
Diffstat (limited to 'sanity_check.php')
-rw-r--r-- | sanity_check.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php index 9009cbc24..0c803d883 100644 --- a/sanity_check.php +++ b/sanity_check.php @@ -139,6 +139,10 @@ $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."; } |