mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 21:03:19 +09:00
17523819 : enable setting SSL and HTTP port
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5109 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b92ae79baa
commit
3dc23c0223
11 changed files with 170 additions and 27 deletions
|
|
@ -44,6 +44,15 @@
|
|||
Context::set('use_rewrite', $db_info->use_rewrite=='Y'?'Y':'N');
|
||||
Context::set('use_optimizer', $db_info->use_optimizer!='N'?'Y':'N');
|
||||
Context::set('qmail_compatibility', $db_info->qmail_compatibility=='Y'?'Y':'N');
|
||||
Context::set('use_ssl', $db_info->use_ssl?$db_info->use_ssl:"none");
|
||||
if($db_info->http_port)
|
||||
{
|
||||
Context::set('http_port', $db_info->http_port);
|
||||
}
|
||||
if($db_info->https_port)
|
||||
{
|
||||
Context::set('https_port', $db_info->https_port);
|
||||
}
|
||||
|
||||
Context::setBrowserTitle("XE Admin Page");
|
||||
}
|
||||
|
|
@ -205,6 +214,7 @@
|
|||
**/
|
||||
function dispAdminConfig() {
|
||||
$db_info = Context::getDBInfo();
|
||||
debugPrint($db_info);
|
||||
Context::set('selected_lang', $db_info->lang_type);
|
||||
|
||||
Context::set('lang_supported', Context::loadLangSupported());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue