vlopes / 维护模块
2.0.0
2021-08-27 13:59 UTC
Requires
- thelia/installer: ~1.1
This package is auto-updated.
Last update: 2024-09-13 17:40:43 UTC
README
此模块允许您将网站置于维护模式。在此模式下,网站的所有页面都将被可配置的维护页面替换,该页面可在模块配置中进行配置。但您仍然可以通过index_dev.php在网站上导航。
安装
手动
- 将模块复制到
<thelia_root>/local/modules/
目录,并确保模块的名称为 Maintenance。 - 在Thelia管理面板中激活它
Composer
将其添加到您的thelia composer.json主文件中
composer require vlopes/maintenance-module:~1.0
使用方法
要启用维护或编辑维护页面,请访问此处
/admin/module/Maintenance