From d92f53b754d9cbb5339016ddd49fd414bb5e01ec Mon Sep 17 00:00:00 2001 From: Arcturus Date: Sun, 29 Sep 2024 04:32:07 +0900 Subject: [PATCH] bump version 2.2.10 and add install minimum php version notice --- AvocadoEdition_Light/config.php | 3 ++- AvocadoEdition_Light/install/index.php | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AvocadoEdition_Light/config.php b/AvocadoEdition_Light/config.php index e4f4e76..d5b2d5c 100644 --- a/AvocadoEdition_Light/config.php +++ b/AvocadoEdition_Light/config.php @@ -7,7 +7,8 @@ ********************/ define('G5_VERSION', '아보카도 에디션 : Amber'); -define('G5_GNUBOARD_VER', '2.2.9'); +define('G5_GNUBOARD_VER', '2.2.10'); +define('G5_AMBER', true); define('_GNUBOARD_', true); date_default_timezone_set("Asia/Seoul"); diff --git a/AvocadoEdition_Light/install/index.php b/AvocadoEdition_Light/install/index.php index b85065f..18530e0 100644 --- a/AvocadoEdition_Light/install/index.php +++ b/AvocadoEdition_Light/install/index.php @@ -11,6 +11,11 @@ $theme_6 = "#7488B2"; $title = G5_VERSION . " 라이센스 확인 1/3"; +if (version_compare(PHP_VERSION, '5.6.0', '<')) { + echo "

php 버전이 지원하는 버전보다 낮습니다.

권장 php 버전은 7.4 입니다.

최소 php 버전은 5.6.0이며 최소 권장 버전은 5.6.22 이상입니다.

"; + exit(); +} + include_once "./install.inc.php"; if ($exists_data_dir && $write_data_dir) {