mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +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
|
|
@ -56,9 +56,13 @@
|
|||
$qmail_compatibility = Context::get('qmail_compatibility');
|
||||
if($qmail_compatibility!='Y') $qmail_compatibility = 'N';
|
||||
|
||||
$use_db_session = Context::get('use_db_session');
|
||||
if($use_db_session!='Y') $use_db_session = 'N';
|
||||
|
||||
$use_ssl = Context::get('use_ssl');
|
||||
if(!$use_ssl) $use_ssl = 'none';
|
||||
|
||||
|
||||
$http_port = Context::get('http_port');
|
||||
$https_port = Context::get('https_port');
|
||||
|
||||
|
|
@ -67,6 +71,7 @@
|
|||
if($db_info->default_url && !preg_match('/^(http|https):\/\//i', $db_info->default_url)) $db_info->default_url = 'http://'.$db_info->default_url;
|
||||
$db_info->time_zone = $time_zone;
|
||||
$db_info->qmail_compatibility = $qmail_compatibility;
|
||||
$db_info->use_db_session = $use_db_session;
|
||||
$db_info->use_rewrite = $use_rewrite;
|
||||
$db_info->use_optimizer = $use_optimizer;
|
||||
$db_info->lang_type = Context::get('change_lang_type');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue