mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 17:39:42 +01:00
commit
3d4b7babb4
@ -3,7 +3,7 @@
|
||||
<?php
|
||||
$engine = '';
|
||||
|
||||
if (defined('SAE_MYSQL_DB')) {
|
||||
if (defined('SAE_MYSQL_DB') && SAE_MYSQL_DB != "app_") {
|
||||
$engine = 'SAE';
|
||||
} else if (!!getenv('HTTP_BAE_ENV_ADDR_SQL_IP')) {
|
||||
$engine = 'BAE';
|
||||
|
@ -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公用方法
|
||||
|
Loading…
x
Reference in New Issue
Block a user