diff --git a/config.php b/config.php index a2fb6e159..cd5dbf23f 100644 --- a/config.php +++ b/config.php @@ -5,8 +5,8 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.2.7'); -define('G5_YOUNGCART_VER', '5.4.2.7.1'); +define('G5_GNUBOARD_VER', '5.4.2.8'); +define('G5_YOUNGCART_VER', '5.4.2.8'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); diff --git a/lib/register.lib.php b/lib/register.lib.php index 49afda6fa..254f08779 100644 --- a/lib/register.lib.php +++ b/lib/register.lib.php @@ -86,7 +86,7 @@ function exist_mb_nick($reg_mb_nick, $reg_mb_id) function reserve_mb_nick($reg_mb_nick) { global $config; - if (preg_match("/[\,]?{$reg_mb_nick}/i", $config['cf_prohibit_id'])) + if (preg_match("/[\,]?".preg_quote($reg_mb_nick)."/i", $config['cf_prohibit_id'])) return "이미 예약된 단어로 사용할 수 없는 닉네임 입니다."; else return ""; diff --git a/plugin/editor/cheditor5/imageUpload/config.php b/plugin/editor/cheditor5/imageUpload/config.php index ac4e4956c..dc5f2ba8b 100644 --- a/plugin/editor/cheditor5/imageUpload/config.php +++ b/plugin/editor/cheditor5/imageUpload/config.php @@ -1,10 +1,6 @@