diff --git a/README.en.md b/README.en.md index 7355441..bfdd334 100644 --- a/README.en.md +++ b/README.en.md @@ -44,11 +44,13 @@ Both APIs automatically return the respective cross-domain header according to ` > The `image` and `url` keys are for compatibility purposes for users of 4.x or earlier versions, they can be ignored ## 🆙 Upgrading Guide +### Upgrading From 5.0 to 5.1 1. [Download the Source Code](https://github.com/mokeyjay/pixiv-daily-ranking-widget/releases/latest) 2. Unzip and overwrite the `app` and `index.php` to on your server +3. This version adds a new image-hosting, you can modify the `image_hosting` configuration in `config.php` as you needed ### Upgrading From 4.x to 5.x -1. Check the code comment of `image_hosting` item in [config.php](config.php#L90), select the most suitable image hosting option and fill it in your `config.php` +1. Check the code comment of `image_hosting` item in [config.php](config.php#L88), select the most suitable image hosting option and fill it in your `config.php` 2. Delete all files in `storage/app` to enable the application refreshing the ranking data ## 🌟 Changelog diff --git a/README.md b/README.md index 6ae27b1..c347b64 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,13 @@ > `image` 和 `url` 两个键是为了兼容 4.x 及之前版本的用户,无需理会 ## 🆙 升级指南 +### 从 5.0 升级到 5.1 1. [下载源代码](https://github.com/mokeyjay/Pixiv-daily-ranking-widget/releases/latest) 2. 解压缩,将其中的 `app` 和 `index.php` 覆盖到线上环境 +3. 此版本添加了新的图床,你可以按需修改 `config.php` 中的 `image_hosting` 配置项 ### 从 4.x 升级到 5.x -1. 查看 [config.php](config.php#L90) 中 `image_hosting` 配置项的注释说明,选择适合你的图床配置,填写到你线上环境的 `config.php` 中 +1. 查看 [config.php](config.php#L88) 中 `image_hosting` 配置项的注释说明,选择适合你的图床配置,填写到你线上环境的 `config.php` 中 2. 删除 `storage/app` 下的所有文件,让程序重新获取排行榜数据 ## 🌟 更新日志