esoftdream/maintenance-mode
最新稳定版本:1.0.0
Composer 安装命令:
composer require esoftdream/maintenance-mode
包简介
Maintenance Mode module for CodeIgniter 4
README 文档
README
Easily manage maintenance mode for your CodeIgniter 4
application with this CLI-powered module.
View available commands for activating, deactivating, and
customizing maintenance mode.
Setup
Open app/Config/Events.php and insert the provided code to
implement a maintenance mode check.
\Esoftdream\MaintenanceMode\Maintenance::check();
Additional
Open the file app/Config/Exception.php in your code editor.
Locate the line containing public array $ignoreCodes = [404];.
Add, 503 within the square brackets to ignore 503 status codes for logging.
Save your changes.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2024-03-02