Check for mb_strlen during install (see #615)
This commit is contained in:
parent
6ae14e4921
commit
96ed39c9e5
@ -172,7 +172,7 @@ function ask_questions() { // {{{
|
||||
if(check_gd_version() == 0 && check_im_version() == 0) {
|
||||
$errors[] = "
|
||||
No thumbnailers could be found - install the imagemagick
|
||||
tools (or the PHP-GD library, of imagemagick is unavailable).
|
||||
tools (or the PHP-GD library, if imagemagick is unavailable).
|
||||
";
|
||||
}
|
||||
else if(check_im_version() == 0) {
|
||||
@ -183,6 +183,13 @@ function ask_questions() { // {{{
|
||||
";
|
||||
}
|
||||
|
||||
if(!function_exists('mb_strlen')) {
|
||||
$errors[] = "
|
||||
The mbstring PHP extension is missing - multibyte languages
|
||||
(eg non-english languages) may not work right.
|
||||
";
|
||||
}
|
||||
|
||||
$drivers = PDO::getAvailableDrivers();
|
||||
if(
|
||||
!in_array("mysql", $drivers) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user