diff --git a/adm/admin.lib.php b/adm/admin.lib.php index 0f0b55418..3a26820ad 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -176,7 +176,7 @@ function get_theme_config_value($dir, $key='*') $tconfig = array(); $theme_config_file = G5_PATH.'/'.G5_THEME_DIR.'/'.$dir.'/theme.config.php'; - if(is_file) { + if(is_file($theme_config_file)) { include($theme_config_file); if($key == '*') { diff --git a/bbs/group.php b/bbs/group.php index 002ac91f5..02c8ee979 100644 --- a/bbs/group.php +++ b/bbs/group.php @@ -28,9 +28,9 @@ include_once(G5_LIB_PATH.'/latest.lib.php'); 'mobile' "; if(!$is_admin) $sql .= " and bo_use_cert = '' "; diff --git a/common.php b/common.php index dd06dca88..89fdef84a 100644 --- a/common.php +++ b/common.php @@ -139,7 +139,7 @@ if (file_exists($dbconfig_file)) { sql_set_charset('utf8', $connect_db); if(defined('G5_MYSQL_SET_MODE') && G5_MYSQL_SET_MODE) sql_query("SET SESSION sql_mode = ''"); - if (defined(G5_TIMEZONE)) sql_query(" set time_zone = '".G5_TIMEZONE."'"); + if (defined('G5_TIMEZONE')) sql_query(" set time_zone = '".G5_TIMEZONE."'"); } else { ?> @@ -485,7 +485,7 @@ if(isset($config['cf_theme']) && trim($config['cf_theme'])) { // 테마 설정 로드 -if(is_file(G5_THEME_PATH.'/theme.config.php')) +if(defined('G5_THEME_PATH') && is_file(G5_THEME_PATH.'/theme.config.php')) include_once(G5_THEME_PATH.'/theme.config.php'); //===================================================================================== diff --git a/mobile/skin/popular/basic/popular.skin.php b/mobile/skin/popular/basic/popular.skin.php index 436883642..cf12beed9 100644 --- a/mobile/skin/popular/basic/popular.skin.php +++ b/mobile/skin/popular/basic/popular.skin.php @@ -9,9 +9,15 @@ add_stylesheet('',

인기검색어

\ No newline at end of file diff --git a/skin/popular/basic/popular.skin.php b/skin/popular/basic/popular.skin.php index 49e0b99e6..5fe041f0f 100644 --- a/skin/popular/basic/popular.skin.php +++ b/skin/popular/basic/popular.skin.php @@ -10,9 +10,15 @@ add_stylesheet('',

인기검색어

diff --git a/theme/basic/group.php b/theme/basic/group.php index 4c47dc818..dd6677b50 100644 --- a/theme/basic/group.php +++ b/theme/basic/group.php @@ -19,9 +19,9 @@ include_once(G5_LIB_PATH.'/latest.lib.php'); 'mobile' "; if(!$is_admin) $sql .= " and bo_use_cert = '' "; diff --git a/theme/basic/mobile/skin/popular/basic/popular.skin.php b/theme/basic/mobile/skin/popular/basic/popular.skin.php index 436883642..cf12beed9 100644 --- a/theme/basic/mobile/skin/popular/basic/popular.skin.php +++ b/theme/basic/mobile/skin/popular/basic/popular.skin.php @@ -9,9 +9,15 @@ add_stylesheet('',

인기검색어

\ No newline at end of file diff --git a/theme/basic/skin/popular/basic/popular.skin.php b/theme/basic/skin/popular/basic/popular.skin.php index 49e0b99e6..5fe041f0f 100644 --- a/theme/basic/skin/popular/basic/popular.skin.php +++ b/theme/basic/skin/popular/basic/popular.skin.php @@ -10,9 +10,15 @@ add_stylesheet('',

인기검색어