From 53a2ce64b4d630f0d82474fa9bcc5206d7aa6995 Mon Sep 17 00:00:00 2001 From: Desmond Stonie Date: Sat, 27 Jun 2015 12:41:22 +0800 Subject: [PATCH] __TYPECHO_MB_SUPPORTED__ needs mb_get_info and mb_regex_encoding all exist --- var/Typecho/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Typecho/Common.php b/var/Typecho/Common.php index 26c3e660..e631ec1f 100644 --- a/var/Typecho/Common.php +++ b/var/Typecho/Common.php @@ -9,7 +9,7 @@ * @version $Id$ */ -define('__TYPECHO_MB_SUPPORTED__', function_exists('mb_get_info')); +define('__TYPECHO_MB_SUPPORTED__', function_exists('mb_get_info') && function_exists('mb_regex_encoding')); /** * Typecho公用方法