diff --git a/README.md b/README.md index 4690ef7..3f3f64c 100755 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ $HTTP["url"] =~ "^/(i|public)/" { * 2022-04-02 v2.5.9 deving - 增加安装提示 - 增加检测水印图片/水印字体是否存在 +- 修复登陆逻辑 - 修复广场重复显示图片 - 调整了广告的位置 - 调整后台设置分表 diff --git a/application/function.php b/application/function.php index f562cb1..f94f4d4 100755 --- a/application/function.php +++ b/application/function.php @@ -1033,9 +1033,8 @@ function get_whole_url($search = null) if ($search) { // 返回指定符号之前 return substr($whole_domain, 0, strrpos($whole_domain, $search)); - } else { - return $whole_domain; } + return $whole_domain; } /** diff --git a/application/list.php b/application/list.php index 73f0999..f6da8bf 100755 --- a/application/list.php +++ b/application/list.php @@ -79,49 +79,49 @@ if ($config['ad_top']) echo $config['ad_top_info']; -
+ - -
-
-
- - - - - -
-
+
+
+ JPG + PNG + GIF + Webp
+ +
+
+
+ + + + + +
+
+
- - +
+ + diff --git a/config/config.php b/config/config.php index d475c88..03160b6 100755 --- a/config/config.php +++ b/config/config.php @@ -83,7 +83,7 @@ var _hmt = _hmt || []; 'chart_on'=>1, 'check_ip'=>0, 'check_ip_model'=>0, - 'check_ip_list'=>'127.0.0.1', + 'check_ip_list'=>'', 'public'=>0, 'public_list'=>Array ( @@ -104,7 +104,7 @@ var _hmt = _hmt || []; 'delDir'=>'thumbnails/', 'hide'=>0, 'version'=>'2.5.8', - 'update'=>'2022-04-11 13:31:22', + 'update'=>'2022-04-11 13:38:41', 'terms'=>'
diff --git a/install/index.php b/install/index.php index 9d67cae..db9521e 100755 --- a/install/index.php +++ b/install/index.php @@ -109,25 +109,21 @@ function checkPASS($name) - -

图床需要权限0755,所有者用户组为www, 命令: chmod -R 0755 /网站的绝对目录/* - 宝塔面板演示 -

如果你的PHP版本较低或者不想安装上述PHP扩展请删除install目录

- '; - } else { - echo ' -
- - -
- '; - } - ?> + if (in_array(false, $checkres)) : ?> +

对于Liunx主机可以使用以下命令: 宝塔面板演示

+
chmod 755 -R /data/wwwroot/
+
chown -R www:www /data/wwwroot/
+

如果你的PHP版本较低或者不想安装上述PHP扩展请删除install目录

+ + +
+ + +
+