From d95594229fee0a93fdd6064c29a33a8e2d8b1c72 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 7 Mar 2013 17:44:07 +0900 Subject: [PATCH 1/5] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EA=B0=A4?= =?UTF-8?q?=EB=9F=AC=EB=A6=AC=20=EC=84=A4=EC=A0=95=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/gnuboard4s.sql | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install/gnuboard4s.sql b/install/gnuboard4s.sql index 7db12da86..76ea526f0 100644 --- a/install/gnuboard4s.sql +++ b/install/gnuboard4s.sql @@ -73,6 +73,11 @@ CREATE TABLE IF NOT EXISTS `g4s_board` ( `bo_content_tail` text NOT NULL, `bo_insert_content` text NOT NULL, `bo_gallery_cols` int(11) NOT NULL default '0', + `bo_gallery_width` int(11) NOT NULL default '0', + `bo_gallery_height` int(11) NOT NULL default '0', + `bo_mobile_gallery_cols` int(11) NOT NULL default '0', + `bo_mobile_gallery_width` int(11) NOT NULL default '0', + `bo_mobile_gallery_height` int(11) NOT NULL default '0', `bo_upload_size` int(11) NOT NULL default '0', `bo_reply_order` tinyint(4) NOT NULL default '0', `bo_use_search` tinyint(4) NOT NULL default '0', @@ -184,9 +189,6 @@ CREATE TABLE IF NOT EXISTS `g4s_config` ( `cf_include_head` varchar(255) NOT NULL default '', `cf_include_tail` varchar(255) NOT NULL default '', `cf_add_script` text NOT NULL default '', - `cf_include_head` varchar(255) NOT NULL default '', - `cf_include_tail` varchar(255) NOT NULL default '', - `cf_add_script` text NOT NULL default '', `cf_use_point` tinyint(4) NOT NULL default '0', `cf_use_norobot` tinyint(4) NOT NULL default '0', `cf_use_copy_log` tinyint(4) NOT NULL default '0', From 733b62b0fd5cde1f1f73dbaa85102d562de7582b Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 17:49:24 +0900 Subject: [PATCH 2/5] =?UTF-8?q?=EC=84=A4=EC=B9=98:=20data/dbconfig.php=20?= =?UTF-8?q?=EA=B0=80=20=EC=97=86=EC=9D=84=20=EB=95=8C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EB=A9=94=EC=84=B8=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 32 +++++++++++++++++++++++++++++--- install/gnuboard4s.sql | 3 --- install/install.inc.php | 38 ++++++++++++++++++++++++++++++-------- 3 files changed, 59 insertions(+), 14 deletions(-) diff --git a/common.php b/common.php index 2e5619004..ea99a33f1 100644 --- a/common.php +++ b/common.php @@ -104,9 +104,35 @@ if (file_exists($dbconfig_file)) { $select_db = sql_select_db(G4_MYSQL_DB, $connect_db) or die('MySQL DB Error!!!'); @mysql_query(" set names utf8 "); } else { - echo ""; - echo "

$dbconfig_file 파일을 찾을 수 없습니다.
프로그램 설치 후 실행하시기 바랍니다.

"; - echo '그누보드4S 설치하기'; +?> + + + + + +오류! 그누보드4S 설치하기 + + + +

오류가 있습니다.

+
+

다음 파일을 찾을 수 없습니다.

+
    +
  • +
+

프로그램 설치 후 실행하시기 바랍니다.

+ 그누보드4S 설치하기 +
+ + + + + + + + +그누보드4S 설치 준비 + + + + +'; - echo '

프로그램이 이미 설치되어 있습니다.
새로 설치하시려면 '.$dbconfig_file.' 파일을 삭제후 설치하시기 바랍니다.

'; +?> +

프로그램이 이미 설치되어 있습니다.
새로 설치하시려면 '.$dbconfig_file.' 파일을 삭제후 설치하시기 바랍니다.

+ +'; - echo '

루트 디렉토리에 아래로 '.G4_DATA_DIR.' 디렉토리를 생성하여 주십시오.
(common.php 파일이 있는곳이 루트 디렉토리 입니다.)

$> mkdir '.G4_DATA_DIR.'

위 명령 실행후 다시 설치하여 주십시오.

'; +?> +

루트 디렉토리에 아래로 '.G4_DATA_DIR.' 디렉토리를 생성하여 주십시오.
(common.php 파일이 있는곳이 루트 디렉토리 입니다.)

$> mkdir '.G4_DATA_DIR.'

위 명령 실행후 다시 설치하여 주십시오.

+ +'.PHP_EOL; - echo '

'.G4_DATA_DIR.' 디렉토리의 퍼미션을 707로 변경하여 주십시오.

$> chmod 707 '.G4_DATA_DIR.' 또는 chmod uo+rwx '.G4_DATA_DIR.'

위 명령 실행후 다시 설치하여 주십시오.

'; +?> +

'.G4_DATA_DIR.' 디렉토리의 퍼미션을 707로 변경하여 주십시오.

$> chmod 707 '.G4_DATA_DIR.' 또는 chmod uo+rwx '.G4_DATA_DIR.'

위 명령 실행후 다시 설치하여 주십시오.

+ \ No newline at end of file +?> + + + \ No newline at end of file From d6e1d6ce4d57a71fbb3154856046411af0e83195 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 17:51:58 +0900 Subject: [PATCH 3/5] =?UTF-8?q?=EC=84=A4=EC=B9=98:=20data/dbconfig.php=20?= =?UTF-8?q?=EA=B0=80=20=EC=97=86=EC=9D=84=20=EB=95=8C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EB=A9=94=EC=84=B8=EC=A7=802?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.php b/common.php index ea99a33f1..ffe6a3096 100644 --- a/common.php +++ b/common.php @@ -113,10 +113,10 @@ if (file_exists($dbconfig_file)) { 오류! 그누보드4S 설치하기 From da6857b0aa6465a16c2dc22f0d6041df76bd4512 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 17:52:29 +0900 Subject: [PATCH 4/5] =?UTF-8?q?=EC=84=A4=EC=B9=98:=20data/dbconfig.php=20?= =?UTF-8?q?=EA=B0=80=20=EC=97=86=EC=9D=84=20=EB=95=8C=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EB=A9=94=EC=84=B8=EC=A7=803?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.php b/common.php index ffe6a3096..ee990064d 100644 --- a/common.php +++ b/common.php @@ -127,7 +127,7 @@ div a {display:block;margin:50px auto 10px;width:170px;text-align:center}
  • 프로그램 설치 후 실행하시기 바랍니다.

    - 그누보드4S 설치하기 + 그누보드4S 설치하기 From a15c0c62531935cb6c4f377ec00fb4eae22ea270 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 7 Mar 2013 18:19:45 +0900 Subject: [PATCH 5/5] =?UTF-8?q?=EC=84=A4=EC=B9=98:=201=EB=8B=A8=EA=B3=84?= =?UTF-8?q?=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/index.php | 35 +++++++++++++++++++---------------- install/install.inc.php | 26 ++++++++++++++++++++------ 2 files changed, 39 insertions(+), 22 deletions(-) diff --git a/install/index.php b/install/index.php index b626d8558..dededc2ec 100644 --- a/install/index.php +++ b/install/index.php @@ -1,25 +1,28 @@ - - - -그누보드4 설치 (1/3) - 라이센스(License) - - -

    라이센스(License) 내용을 반드시 확인하십시오.

    - -
    -
    - -
    - 동의에 선택하신 후 <다음> 버튼을 클릭해 주세요. +

    + 라이센스(License) 내용을 반드시 확인하십시오.
    + 라이센스에 동의하시는 경우에만 설치가 진행됩니다. +

    + + +
    - + + +
    + + +
    + +
    + +
    +