mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
解决BAE新版本不支持HTTP_BAE_LOGID变量获取导致BAE无法安装的问题
This commit is contained in:
parent
b675161c79
commit
c968abae08
@ -414,7 +414,7 @@ EOF;
|
||||
{
|
||||
return !empty($_SERVER['HTTP_APPNAME']) // SAE
|
||||
|| !!getenv('HTTP_BAE_ENV_APPID') // BAE
|
||||
|| !!getenv('HTTP_BAE_LOGID') // BAE 3.0
|
||||
|| !!getenv('SERVER_SOFTWARE') // BAE 3.0
|
||||
|| (ini_get('acl.app_id') && class_exists('Alibaba')) // ACE
|
||||
|| (isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'],'Google App Engine') !== false) // GAE
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user