re-stub mb_strlen (see #615)
This commit is contained in:
parent
843d7fae24
commit
4e5af70093
@ -958,6 +958,13 @@ function data_path($filename) {
|
||||
return $filename;
|
||||
}
|
||||
|
||||
if (!function_exists('mb_strlen')) {
|
||||
// TODO: we should warn the admin that they are missing multibyte support
|
||||
function mb_strlen($str, $encoding) {
|
||||
return strlen($str);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $url
|
||||
* @param string $mfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user