You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
v2.8.0
This commit is contained in:
@@ -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'];
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user