mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 23:12:13 +09:00
Improve compatibility with some apps that work closely with system config
This commit is contained in:
parent
5afefc063c
commit
08e4d82f23
1 changed files with 3 additions and 2 deletions
|
|
@ -563,7 +563,7 @@ class Context
|
|||
*/
|
||||
public static function getSslStatus()
|
||||
{
|
||||
return config('url.ssl');
|
||||
return self::get('_use_ssl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -573,7 +573,7 @@ class Context
|
|||
*/
|
||||
public static function getDefaultUrl()
|
||||
{
|
||||
return config('url.default');
|
||||
return self::$_instance->db_info->default_url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -836,6 +836,7 @@ class Context
|
|||
*/
|
||||
public static function setLangType($lang_type = 'ko')
|
||||
{
|
||||
self::$_instance->db_info->lang_type = $lang_type;
|
||||
self::$_instance->lang_type = $lang_type;
|
||||
self::set('lang_type', $lang_type);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue