This commit is contained in:
icret
2023-04-05 00:28:17 +08:00
parent 2e045d3f46
commit 2b78340111
12 changed files with 62 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ if (isset($_GET['dw'])) {
}
// 历史上传记录的路径
if (isset(($_GET['history']))) {
if (isset($_GET['history'])) {
$dw = '../' . $_GET['history'];
if ($config['hide_path']) {
$dw = '../' . $config['path'] . $_GET['history'];

View File

@@ -1596,7 +1596,7 @@ function write_upload_logs($filePath, $sourceName, $absolutePath, $fileSize, $fr
* IP地址查询
* @param int $ip IP地址
*/
function ip2region(String $IP)
function ip2region($IP)
{
$db = __DIR__ . '/ip2region/ip2region.xdb';