css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -63,29 +63,19 @@
$https_port = Context::get('https_port');
$db_info = Context::getDBInfo();
$db_info->default_url = Context::get('default_url');
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_rewrite = $use_rewrite;
$db_info->use_optimizer = $use_optimizer;
$db_info->lang_type = Context::get('lang_type');
$db_info->lang_type = Context::get('change_lang_type');
$db_info->use_ssl = $use_ssl;
if($http_port)
{
$db_info->http_port = (int) $http_port;
}
else if($db_info->http_port)
{
unset($db_info->http_port);
}
if($http_port) $db_info->http_port = (int) $http_port;
else if($db_info->http_port) unset($db_info->http_port);
if($https_port)
{
$db_info->https_port = (int) $https_port;
}
else if($db_info->https_port)
{
unset($db_info->https_port);
}
if($https_port) $db_info->https_port = (int) $https_port;
else if($db_info->https_port) unset($db_info->https_port);
Context::setDBInfo($db_info);