mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
fix #1347 관리페이지의 상단에 사이트 주소를 표시하지 못하는 문제 수정
This commit is contained in:
parent
2029c11e99
commit
86b3caa28f
1 changed files with 22 additions and 17 deletions
|
|
@ -24,6 +24,21 @@ class adminAdminView extends admin
|
||||||
*/
|
*/
|
||||||
var $easyinstallCheckFile = './files/env/easyinstall_last';
|
var $easyinstallCheckFile = './files/env/easyinstall_last';
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
$db_info = Context::getDBInfo();
|
||||||
|
|
||||||
|
if(strpos($db_info->default_url, 'xn--') !== FALSE)
|
||||||
|
{
|
||||||
|
$xe_default_url = Context::decodeIdna($db_info->default_url);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$xe_default_url = $db_info->default_url;
|
||||||
|
}
|
||||||
|
Context::set('xe_default_url', $xe_default_url);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initilization
|
* Initilization
|
||||||
* @return void
|
* @return void
|
||||||
|
|
@ -68,16 +83,6 @@ class adminAdminView extends admin
|
||||||
Context::set('https_port', $db_info->https_port);
|
Context::set('https_port', $db_info->https_port);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strpos($db_info->default_url, 'xn--') !== FALSE)
|
|
||||||
{
|
|
||||||
$xe_default_url = Context::decodeIdna($db_info->default_url);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$xe_default_url = $db_info->default_url;
|
|
||||||
}
|
|
||||||
Context::set('xe_default_url', $xe_default_url);
|
|
||||||
|
|
||||||
$this->showSendEnv();
|
$this->showSendEnv();
|
||||||
$this->checkEasyinstall();
|
$this->checkEasyinstall();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue