From f2d073c8bae117b78f82ad088c52c2cac4dd0577 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 4 Oct 2013 15:17:01 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=84=A4=EC=B9=98=EC=8B=9C=20GD=20?= =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=EB=9F=AC=EB=A6=AC=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/index.php | 3 ++- install/library.check.php | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 install/library.check.php diff --git a/install/index.php b/install/index.php index 65b5549d4..b6c140f2d 100644 --- a/install/index.php +++ b/install/index.php @@ -1,6 +1,7 @@ @@ -17,7 +18,7 @@ if ($exists_data_dir && $write_data_dir) {
- +
diff --git a/install/library.check.php b/install/library.check.php new file mode 100644 index 000000000..08889cc50 --- /dev/null +++ b/install/library.check.php @@ -0,0 +1,14 @@ +

'.$msg.'

'); +} + +if(!extension_loaded('gd') || !function_exists('gd_info')) + die('GD 라이브러리를 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.'); +?> \ No newline at end of file From c40457c1cf373cf920bdc7321394e96dd6a7a838 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 4 Oct 2013 17:59:39 +0900 Subject: [PATCH 2/2] =?UTF-8?q?select=20box=20=EB=82=98=20redio=20button?= =?UTF-8?q?=20=EC=97=90=EC=84=9C=20=EC=82=AC=EC=9A=A9=ED=95=98=EA=B8=B0=20?= =?UTF-8?q?=EC=9C=84=ED=95=B4=20get=5Fchecked=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index 8a8f473dd..ac4e564dd 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1904,6 +1904,12 @@ function get_selected($field, $value) } +function get_checked($field, $value) +{ + return ($field==$value) ? ' checked="checked"' : ''; +} + + function is_mobile() { return preg_match('/'.G5_MOBILE_AGENT.'/i', $_SERVER['HTTP_USER_AGENT']);