mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
admin.css 추가시 optimizer에 포함되지 않도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4237 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e4a6c7be64
commit
8186d18331
1 changed files with 9 additions and 7 deletions
|
|
@ -139,7 +139,9 @@
|
||||||
$this->addJsFile("./common/js/xml_js_filter.js");
|
$this->addJsFile("./common/js/xml_js_filter.js");
|
||||||
$this->addCSSFile("./common/css/default.css");
|
$this->addCSSFile("./common/css/default.css");
|
||||||
$this->addCSSFile("./common/css/button.css");
|
$this->addCSSFile("./common/css/button.css");
|
||||||
if(Context::get('module')=='admin' || strpos(Context::get('act'),'Admin')>0) $this->addCssFile("./modules/admin/tpl/css/admin.css");
|
|
||||||
|
// 관리자 페이지일 경우 관리자 공용 CSS 추가
|
||||||
|
if(Context::get('module')=='admin' || strpos(Context::get('act'),'Admin')>0) $this->addCssFile("./modules/admin/tpl/css/admin.css", false);
|
||||||
|
|
||||||
// rewrite module때문에 javascript에서 location.href 문제 해결을 위해 직접 실제 경로 설정
|
// rewrite module때문에 javascript에서 location.href 문제 해결을 위해 직접 실제 경로 설정
|
||||||
if($_SERVER['REQUEST_METHOD'] == 'GET') {
|
if($_SERVER['REQUEST_METHOD'] == 'GET') {
|
||||||
|
|
@ -177,15 +179,15 @@
|
||||||
$db_config_file = $this->getConfigFile();
|
$db_config_file = $this->getConfigFile();
|
||||||
if(file_exists($db_config_file)) @include($db_config_file);
|
if(file_exists($db_config_file)) @include($db_config_file);
|
||||||
|
|
||||||
if(!$db_info->time_zone) $db_info->time_zone = date("O");
|
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';
|
if(!$db_info->use_optimizer || $db_info->use_optimizer != 'N') $db_info->use_optimizer = 'Y';
|
||||||
else $db_info->use_optimizer = 'N';
|
else $db_info->use_optimizer = 'N';
|
||||||
if(!$db_info->qmail_compatibility || $db_info->qmail_compatibility != 'Y') $db_info->qmail_compatibility = 'N';
|
if(!$db_info->qmail_compatibility || $db_info->qmail_compatibility != 'Y') $db_info->qmail_compatibility = 'N';
|
||||||
else $db_info->qmail_compatibility = 'Y';
|
else $db_info->qmail_compatibility = 'Y';
|
||||||
|
|
||||||
$this->_setDBInfo($db_info);
|
$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;
|
$GLOBALS['_qmail_compatibility'] = $db_info->qmail_compatibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue