Merge branch 'master' of github.com:gnuboard/gnuboard5

This commit is contained in:
thisgun
2024-07-18 10:28:57 +09:00
2 changed files with 5 additions and 3 deletions

View File

@ -1683,7 +1683,10 @@ function sql_connect($host, $user, $pass, $db=G5_MYSQL_DB)
die('Connect Error: '.mysqli_connect_error());
}
} else {
$link = mysql_connect($host, $user, $pass);
if (!function_exists('mysql_connect')) {
die('MySQL이 설치되지 않아 mysql_connect 함수를 사용할 수 없습니다.');
}
$link = mysql_connect($host, $user, $pass) or die('MySQL Host, User, Password 정보에 오류가 있습니다.');
}
return $link;