mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
$this 변수를 $self로 변경
is_a($this, 'Context') ? $self = $this : $self = self::getInstance();을 통해 $self 변수를 생성하엿으나, $self를 사용하지 않고 $this가 사용됨. => 이 함수를 Context::함수명 처럼 사용시 오류의 소지가 있음
This commit is contained in:
parent
e30506b935
commit
07188e2937
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ class Context
|
|||
$db_info->use_db_session = 'N';
|
||||
if(!$db_info->use_ssl)
|
||||
$db_info->use_ssl = 'none';
|
||||
$this->set('_use_ssl', $db_info->use_ssl);
|
||||
$self->set('_use_ssl', $db_info->use_ssl);
|
||||
|
||||
if($db_info->http_port)
|
||||
$self->set('_http_port', $db_info->http_port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue