src/ThinkPHP/Library/Think/Upload/Driver/Bcs/requestcore.php
private function isBaeEnv() {
		if (isset ( $_SERVER ['HTTP_HOST'] )) {
			$host = $_SERVER ['HTTP_HOST'];
			$pos = strpos ( $host, '.' );
			if ($pos !== false) {
				$substr = substr ( $host, $pos + 1 );
				if ($substr == 'duapp.com') {
					return true;
				}
			}
		}
		if (isset ( $_SERVER ["HTTP_BAE_LOGID"] )) {
			return true;
		}

		return false;
	}
private function isBaeEnv() {
		if (isset ( $_SERVER ['HTTP_HOST'] )) {
			$host = $_SERVER ['HTTP_HOST'];
			$pos = strpos ( $host, '.' );
			if ($pos !== false) {
				$substr = substr ( $host, $pos + 1 );
				if ($substr == 'duapp.com') {
					return true;
				}
			}
		}
		if (isset ( $_SERVER ["HTTP_BAE_LOGID"] )) {
			return true;
		}

		return false;
	}
private function isBaeEnv ( ) { if ( isset ( $ _SERVER [ 'HTTP_HOST' ] ) ) { $ host = $ _SERVER [ 'HTTP_HOST' ] ; $ pos = strpos ( $ host , '.' ) ; if ( $ pos !== false ) { $ substr = substr ( $ host , $ pos + 1 ) ; if ( $ substr == 'duapp.com' ) { return true ; } } } if ( isset ( $ _SERVER [ "HTTP_BAE_LOGID" ] ) ) { return true ; } return false ; }
is the environment BAE?
@return boolean the result of the answer
is the environment BAE?