mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
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:
parent
543987415f
commit
ab4042f721
1 changed files with 2 additions and 1 deletions
|
|
@ -103,10 +103,11 @@
|
||||||
$info['package'] = _XE_PACKAGE_;
|
$info['package'] = _XE_PACKAGE_;
|
||||||
$info['host'] = $db_type->default_url ? $db_type->default_url : getFullUrl();
|
$info['host'] = $db_type->default_url ? $db_type->default_url : getFullUrl();
|
||||||
$info['app'] = $_SERVER['SERVER_SOFTWARE'];
|
$info['app'] = $_SERVER['SERVER_SOFTWARE'];
|
||||||
|
$info['xe_version'] = __ZBXE_VERSION__;
|
||||||
$info['php'] = phpversion();
|
$info['php'] = phpversion();
|
||||||
|
|
||||||
$db_info = Context::getDBInfo();
|
$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_rewrite'] = $db_info->use_rewrite;
|
||||||
$info['use_db_session'] = $db_info->use_db_session == 'Y' ?'Y':'N';
|
$info['use_db_session'] = $db_info->use_db_session == 'Y' ?'Y':'N';
|
||||||
$info['use_ssl'] = $db_info->use_ssl;
|
$info['use_ssl'] = $db_info->use_ssl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue