mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
qmail등 비표준 개행문자 사용 mta를 지원하기 위한 qmail_compatibility 변수를 db.config.php에 추가하고 관리자 페이지에서 설정토록 함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4153 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c6815f9a1a
commit
93a6bd053c
6 changed files with 54 additions and 35 deletions
|
|
@ -178,13 +178,16 @@
|
|||
$db_config_file = $this->getConfigFile();
|
||||
if(file_exists($db_config_file)) @include($db_config_file);
|
||||
|
||||
if(!$db_info->time_zone) $db_info->time_zone = date("O");
|
||||
if(!$db_info->use_optimizer || $db_info->use_optimizer != 'N') $db_info->use_optimizer = 'Y';
|
||||
else $db_info->use_optimizer = 'N';
|
||||
if(!$db_info->time_zone) $db_info->time_zone = date("O");
|
||||
if(!$db_info->use_optimizer || $db_info->use_optimizer != 'N') $db_info->use_optimizer = 'Y';
|
||||
else $db_info->use_optimizer = 'N';
|
||||
if(!$db_info->qmail_compatibility || $db_info->qmail_compatibility != 'Y') $db_info->qmail_compatibility = 'N';
|
||||
else $db_info->qmail_compatibility = 'Y';
|
||||
|
||||
$this->_setDBInfo($db_info);
|
||||
|
||||
$GLOBALS['_time_zone'] = $db_info->time_zone;
|
||||
|
||||
$GLOBALS['_time_zone'] = $db_info->time_zone;
|
||||
$GLOBALS['_qmail_compatibility'] = $db_info->qmail_compatibility;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue