이동 복사 에러 때 사용할 url 변수 추가

This commit is contained in:
chicpro
2013-01-15 18:37:23 +09:00
parent d29cd477ea
commit 41f59fa9ae
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
<input type="hidden" name="spt" value="<?=$spt?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="act" value="<?=$act?>">
<input type="hidden" name="url" value="<?=$_SERVER['HTTP_REFERER']?>">
<table>
<caption><?=$act?>할 게시판을 한개 이상 선택하여 주십시오.</caption>
<thead>

View File

@ -9,7 +9,7 @@ if ($sw != 'move' && $sw != 'copy')
alert('sw 값이 제대로 넘어오지 않았습니다.');
if(!count($_POST['chk_bo_table']))
alert("게시물을 ".$act."할 게시판을 한개 이상 선택해 주십시오.");
alert("게시물을 ".$act."할 게시판을 한개 이상 선택해 주십시오.", $url);
// 원본 파일 디렉토리
$src_dir = $g4['path'].'/data/file/'.$bo_table;