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 diff --git a/lib/common.lib.php b/lib/common.lib.php index d915b06aa..ee1bb82ac 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1909,6 +1909,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']);