php 7.2 버전에서 오류 나는 코드 수정

This commit is contained in:
thisgun
2017-12-04 15:56:59 +09:00
parent 9f89455b3c
commit 6c4353fffe
8 changed files with 41 additions and 17 deletions

View File

@ -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 == '*') {