최근 코멘트를 제일 위로
페이지 정보
본문
수정은 아주 간단합니다.
제로보드폴더의 view.php파일을 열고 아래부분을 찾아 수정합니다.
asc를 desc로 바꾸면 됩니다.
_________________________________________
수정전
// 간단한 답글의 데이타를 가지고옴;;
$_dbTimeStart = getmicrotime();
$view_comment_result=mysql_query("select * from $t_comment"."_$id where parent='$no' order by no asc");
$_dbTime += getmicrotime()-$_dbTimeStart;
-----------------------------------------
수정후
// 간단한 답글의 데이타를 가지고옴;;
$_dbTimeStart = getmicrotime();
$view_comment_result=mysql_query("select * from $t_comment"."_$id where parent='$no' order by no desc");
$_dbTime += getmicrotime()-$_dbTimeStart;
제로보드폴더의 view.php파일을 열고 아래부분을 찾아 수정합니다.
asc를 desc로 바꾸면 됩니다.
_________________________________________
수정전
// 간단한 답글의 데이타를 가지고옴;;
$_dbTimeStart = getmicrotime();
$view_comment_result=mysql_query("select * from $t_comment"."_$id where parent='$no' order by no asc");
$_dbTime += getmicrotime()-$_dbTimeStart;
-----------------------------------------
수정후
// 간단한 답글의 데이타를 가지고옴;;
$_dbTimeStart = getmicrotime();
$view_comment_result=mysql_query("select * from $t_comment"."_$id where parent='$no' order by no desc");
$_dbTime += getmicrotime()-$_dbTimeStart;
관련링크
- 이전글제로보드 4.1 pl7 패치 내용 05.04.05
- 다음글여러게시판 최근게시물 통합하여 뽑기 2차 수개 버젼입니다. 05.01.30
댓글목록
등록된 댓글이 없습니다.