Merge branch 'g5'
This commit is contained in:
@ -19,6 +19,8 @@ $save_count_write = 0;
|
|||||||
$save_count_comment = 0;
|
$save_count_comment = 0;
|
||||||
$cnt = 0;
|
$cnt = 0;
|
||||||
|
|
||||||
|
$wr_id_list = preg_replace('/[^0-9\,]/', '', $_POST['wr_id_list']);
|
||||||
|
|
||||||
$sql = " select distinct wr_num from $write_table where wr_id in ({$wr_id_list}) order by wr_id ";
|
$sql = " select distinct wr_num from $write_table where wr_id in ({$wr_id_list}) order by wr_id ";
|
||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
while ($row = sql_fetch_array($result))
|
while ($row = sql_fetch_array($result))
|
||||||
|
|||||||
@ -28,6 +28,8 @@ $g4_config_file = trim($_POST['file_path']);
|
|||||||
if(!$g4_config_file)
|
if(!$g4_config_file)
|
||||||
alert('config.php 파일의 경로를 입력해 주십시오.');
|
alert('config.php 파일의 경로를 입력해 주십시오.');
|
||||||
|
|
||||||
|
$g4_config_file = preg_replace('#/config.php$#i', '', $g4_config_file).'/config.php';
|
||||||
|
|
||||||
if(!is_file($g4_config_file))
|
if(!is_file($g4_config_file))
|
||||||
alert('입력하신 경로에 config.php 파일이 존재하지 않습니다.');
|
alert('입력하신 경로에 config.php 파일이 존재하지 않습니다.');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user