r8581 modify getEnv for changing Context

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9260 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-09-22 01:20:52 +00:00
parent 543987415f
commit ab4042f721

View file

@ -103,10 +103,11 @@
$info['package'] = _XE_PACKAGE_;
$info['host'] = $db_type->default_url ? $db_type->default_url : getFullUrl();
$info['app'] = $_SERVER['SERVER_SOFTWARE'];
$info['xe_version'] = __ZBXE_VERSION__;
$info['php'] = phpversion();
$db_info = Context::getDBInfo();
$info['db_type'] = $db_info->db_type;
$info['db_type'] = Context::getDBType();
$info['use_rewrite'] = $db_info->use_rewrite;
$info['use_db_session'] = $db_info->use_db_session == 'Y' ?'Y':'N';
$info['use_ssl'] = $db_info->use_ssl;