php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
1 parent
10d377de7d
commit
582d1a01f4
852 files changed
+120617
-6307
No files matched your search
+3
-4
@@ -4,7 +4,7 @@ include_once('./_common.php');
|
||||
// clean the output buffer
|
||||
ob_end_clean();
|
||||
|
||||
$no = (int)$no;
|
||||
$no = isset($_REQUEST['no']) ? (int) $_REQUEST['no'] : 0;
|
||||
|
||||
@include_once($board_skin_path.'/download.head.skin.php');
|
||||
|
||||
@@ -26,7 +26,7 @@ if (!$file['bf_file'])
|
||||
if($js != 'on' && $board['bo_download_point'] < 0) {
|
||||
$msg = $file['bf_source'].' 파일을 다운로드 하시면 포인트가 차감('.number_format($board['bo_download_point']).'점)됩니다.\\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\\n그래도 다운로드 하시겠습니까?';
|
||||
$url1 = G5_BBS_URL.'/download.php?'.clean_query_string($_SERVER['QUERY_STRING'], false).'&js=on';
|
||||
$url2 = clean_xss_tags($_SERVER['HTTP_REFERER']);
|
||||
$url2 = isset($_SERVER['HTTP_REFERER']) ? clean_xss_tags($_SERVER['HTTP_REFERER']) : '';
|
||||
|
||||
if( $url2 && stripos($url2, $_SERVER['REQUEST_URI']) !== false ){
|
||||
$url2 = G5_BBS_URL.'/board.php?'.clean_query_string($_SERVER['QUERY_STRING'], false);
|
||||
@@ -150,5 +150,4 @@ while(!feof($fp)) {
|
||||
usleep(1000);
|
||||
}
|
||||
fclose ($fp);
|
||||
flush();
|
||||
?>
|
||||
flush();
|
||||
Reference in new issue
Block a user