vdlp/oc-maintenance-plugin
最新稳定版本:2.3.0
Composer 安装命令:
composer require vdlp/oc-maintenance-plugin
包简介
Maintenance page plugin
README 文档
README
Vdlp.Maintenance
Handles HTTP requests when October CMS is in maintenance mode.
To bring October CMS down:
php artisan down
To bring October CMS up:
php artisan up
Installation
composer require vdlp/oc-maintenance-plugin
Configuration
To configure this plugin execute the following command:
php artisan vendor:publish --provider="Vdlp\Maintenance\Providers\MaintenanceServiceProvider" --tag="config"
Customization
This plugin is shipped with a default maintenance page.
If you would like to customize this page you can create a folder called maintenance in the root of your project. Inside this directory you should create a file called 503.htm. This file is rendered using the default view engine of your project and receives two variables: app_name and locale, where app_name is the value of the app.name configuration variable and locale is the active locale name.
统计信息
- 总下载量: 34.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2020-02-21