불필요한 주석 제거
This commit is contained in:
@ -191,7 +191,6 @@ if ($copy_case == 'schema_data_both') {
|
|||||||
sql_query($sql, false);
|
sql_query($sql, false);
|
||||||
|
|
||||||
// 4.00.01
|
// 4.00.01
|
||||||
// 위의 코드는 같은 테이블명을 사용하였다는 오류가 발생함. (희한하네 ㅡㅡ;)
|
|
||||||
$sql = " select * from {$g5['board_file_table']} where bo_table = '$bo_table' ";
|
$sql = " select * from {$g5['board_file_table']} where bo_table = '$bo_table' ";
|
||||||
$result = sql_query($sql, false);
|
$result = sql_query($sql, false);
|
||||||
for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
||||||
|
|||||||
@ -258,7 +258,6 @@ if ($w == '' || $w == 'r') {
|
|||||||
$wr_reply = '';
|
$wr_reply = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// wr_num 서브쿼리 kkigomi 님 제안
|
|
||||||
$sql = " insert into $write_table
|
$sql = " insert into $write_table
|
||||||
set wr_num = " . ($w == 'r' ? "'$wr_num'" : "(SELECT IFNULL(MIN(wr_num) - 1, -1) FROM $write_table sq) ") . ",
|
set wr_num = " . ($w == 'r' ? "'$wr_num'" : "(SELECT IFNULL(MIN(wr_num) - 1, -1) FROM $write_table sq) ") . ",
|
||||||
wr_reply = '$wr_reply',
|
wr_reply = '$wr_reply',
|
||||||
|
|||||||
@ -72,7 +72,6 @@ Class G5_object_cache {
|
|||||||
* @param string $key
|
* @param string $key
|
||||||
* @param string $group
|
* @param string $group
|
||||||
* @return bool
|
* @return bool
|
||||||
* kkigomi 님이 고쳐주심
|
|
||||||
*/
|
*/
|
||||||
function delete($type, $key, $group = 'default')
|
function delete($type, $key, $group = 'default')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4157,7 +4157,7 @@ function get_random_token_string($length=6)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
|
$characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
|
||||||
$output = substr(str_shuffle($characters), 0, $length); // jihan001 님 제안코드로 수정
|
$output = substr(str_shuffle($characters), 0, $length);
|
||||||
|
|
||||||
return bin2hex($output);
|
return bin2hex($output);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user