sanity check: add test for ctype_lower (refs #374)

This commit is contained in:
Andrew Dolgov 2011-10-18 10:44:23 +04:00
parent d6571825bf
commit f5b429ef6d
1 changed files with 4 additions and 0 deletions

View File

@ -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.";
}