stub mb_ functions

This commit is contained in:
Shish 2016-06-19 11:57:01 +01:00
parent 90cbd9fff8
commit e0d3d53479
2 changed files with 6 additions and 1 deletions

View File

@ -813,7 +813,7 @@ class Image {
*/ */
// no tags, do a simple search // no tags, do a simple search
if($positive_tag_count + $negative_tag_count == 0) { if($positive_tag_count === 0 && $negative_tag_count === 0) {
$query = new Querylet(" $query = new Querylet("
SELECT images.* SELECT images.*
FROM images FROM images

View File

@ -412,6 +412,11 @@ function endsWith(/*string*/ $haystack, /*string*/ $needle) {
return (substr($haystack, $start) === $needle); return (substr($haystack, $start) === $needle);
} }
if(!function_exists("mb_strlen")) { // D:
function mb_strlen($str) {return strlen($str);}
function mb_internal_encoding($enc) {}
function mb_strtolower($str) {return strtolower($str);}
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* HTML Generation * * HTML Generation *