docs
parent
1f6fdb57eb
commit
8da26ca463
|
@ -1 +1 @@
|
|||
2.7.5
|
||||
2.7.6
|
|
@ -163,7 +163,7 @@ if ($handle->uploaded) {
|
|||
"code" => 206,
|
||||
"message" => $handle->error,
|
||||
"memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12
|
||||
// 'log' => $handle->log,(仅用作调试用)
|
||||
// 'log' => $handle->log, // 仅用作调试用
|
||||
);
|
||||
unset($handle);
|
||||
header('Content-Type:application/json; charset=utf-8');
|
||||
|
|
|
@ -149,6 +149,6 @@ if (!function_exists('fastcgi_finish_request')) {
|
|||
new $.zui.Messager("开启 fastcgi_finish_request 处理数据会更快喔!",{
|
||||
type: "primary", // 定义颜色主题
|
||||
time:7000
|
||||
}).show();
|
||||
}).show();
|
||||
';
|
||||
}
|
||||
}
|
|
@ -117,6 +117,7 @@ if ($config['notice_status'] > 0) : ?>
|
|||
$('*').s2t();
|
||||
});
|
||||
<?php endif; ?>
|
||||
|
||||
<?php /** 暗黑模式 */ if ($config['dark-mode']) : ?>
|
||||
// cookie 操作封装 https://www.jb51.net/article/94456.htm
|
||||
var cookieUtil = {
|
||||
|
|
|
@ -185,7 +185,7 @@ if ($handle->uploaded) {
|
|||
"code" => 206,
|
||||
"message" => $handle->error,
|
||||
"memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12
|
||||
// 'log' => $handle->log,(仅用作调试用)
|
||||
// 'log' => $handle->log, // 仅用作调试用
|
||||
);
|
||||
unset($handle);
|
||||
header('Content-Type:application/json; charset=utf-8');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -14,5 +14,6 @@ chown -R www:www /安装目录
|
|||
```
|
||||
|
||||
#### BT宝塔面板
|
||||
- 1. 软件商店 $\Rightarrow$ 一键部署 $\Rightarrow$ 搜索`简单图床`一键部署稳定版
|
||||
- 2. 使用上边的`Linux`方法搭建
|
||||
- 安装环境: Ngixn(推荐) / Apache + PHP(推荐≥7.0)
|
||||
- 软件商店搜索`简单图床`一键部署
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
12. 宝塔或者其他环境安装成功但是上传失败,多数原因是防火墙拦截上传,取消拦截即可
|
||||
13. `Fatal error: Allowed memory size......`主机内存或分配给PHP的内存不够 解决方法百度
|
||||
14. 开启原图保护功能后打开图片链接显示`404`是因为`nginx`或`Apache`页面缓存导致的,`Nginx`解决办法:
|
||||
|
||||
```Nginx
|
||||
# 把Nginx这段配置删掉
|
||||
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
|
||||
|
@ -22,3 +21,4 @@ location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
|
|||
access_log /dev/null;
|
||||
}
|
||||
```
|
||||
15. 后台设置页面显示不全: 关闭环境自检或下载并命名为[version.json](https://api.github.com/repositories/188228357/releases/latest)到`admin/logs/version/`目录
|
||||
|
|
Loading…
Reference in New Issue