diff --git a/adm/config_form.php b/adm/config_form.php index f040f04db..7630bb5d6 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -68,7 +68,6 @@ if(!sql_query(" SELECT uq_ip from {$g4['uniqid_table']} limit 1 ", false)) { sql_query(" ALTER TABLE {$g4['uniqid_table']} ADD `uq_ip` VARCHAR(255) NOT NULL "); } - // 임시저장 테이블이 없을 경우 생성 if(!sql_query(" DESC {$g4['autosave_table']} ", false)) { sql_query(" CREATE TABLE IF NOT EXISTS `{$g4['autosave_table']}` ( @@ -114,6 +113,11 @@ if(!isset($config['cf_cert_use'])) { )", true); } +if(!isset($config['cf_analytics'])) { + sql_query(" ALTER TABLE `{$g4['config_table']}` + ADD `cf_analytics` TEXT NOT NULL AFTER `cf_intercept_ip` ", true); +} + $g4['title'] = '환경설정'; include_once ('./admin.head.php'); @@ -374,6 +378,13 @@ $pg_anchor = '