mirror of
https://github.com/typecho/typecho.git
synced 2025-04-13 22:31:52 +02:00
in some SAE environment, SAE constants like SAE_MYSQL_DB have been defined but not been initialized
This commit is contained in:
parent
5f72999a44
commit
e4e0ace9a9
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user