Version 3.4.1

1. 更新纯真数据库
2. 修复一系列bug
This commit is contained in:
Firesun
2016-12-27 22:12:43 +08:00
parent e63a14d32a
commit c246503ca8
3 changed files with 3 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ function getRealIP(){
}
//基于Discuz X3.1 function_misc.php 函数已过滤,可直接输出
function convertip($ip, $ipdatafile) {
function convertIP($ip, $ipdatafile) {
$ipaddr = '未知';
if (preg_match("/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/", $ip)) {
$iparray = explode('.', $ip);