mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
세션 처리를 DB가 아닌 php 설정 파일로 할 수 있는 옵션을 추가.
동시접속자가 많아서 DB 커넥션 및 부하가 많아질 경우 유용함 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6147 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
55fc3c1224
commit
4e471115f4
13 changed files with 46 additions and 11 deletions
|
|
@ -74,6 +74,7 @@
|
|||
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_db_session', $db_info->use_db_session=='N'?'N':'Y');
|
||||
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);
|
||||
|
|
@ -265,4 +266,4 @@
|
|||
$this->setTemplateFile('config');
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue