$this 변수를 $self로 변경

is_a($this, 'Context') ? $self = $this : $self = self::getInstance();을 통해 $self 변수를 생성하엿으나, $self를 사용하지 않고 $this가 사용됨.
=> 이 함수를 Context::함수명 처럼 사용시 오류의 소지가 있음
This commit is contained in:
조태상 2015-02-11 17:32:35 +09:00
parent e30506b935
commit 07188e2937

View file

@ -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);