From 1b22f91498604473b0e5165df501f34f6f7cb832 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 13 Sep 2013 14:02:16 +0900 Subject: [PATCH] =?UTF-8?q?g4s=20=EC=BD=94=EB=93=9C=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/config_form.php | 13 ++++++++++++- adm/config_form_update.php | 1 + adm/img/logo.jpg | Bin 7146 -> 6597 bytes css/admin.css | 2 +- css/default.css | 2 +- img/ft_catch.jpg | Bin 9645 -> 7192 bytes img/logo.jpg | Bin 4555 -> 3441 bytes install/gnuboard4s.sql | 1 + tail.php | 4 ++++ 9 files changed, 20 insertions(+), 3 deletions(-) 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 = '