From 229dc58de0ceb2dc34cddceec70c313cb4d8c66b Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 1 Aug 2016 09:36:56 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=ED=95=84=ED=84=B0=EB=A7=81=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yc4_import_run.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yc4_import_run.php b/yc4_import_run.php index a48934e4f..80753e13f 100644 --- a/yc4_import_run.php +++ b/yc4_import_run.php @@ -28,6 +28,8 @@ $g4_config_file = trim($_POST['file_path']); if(!$g4_config_file) alert('config.php 파일의 경로를 입력해 주십시오.'); +$g4_config_file = preg_replace('#/config.php$#i', '', $g4_config_file).'/config.php'; + if(!is_file($g4_config_file)) alert('입력하신 경로에 config.php 파일이 존재하지 않습니다.');