An open API service indexing awesome lists of open source software.

https://github.com/gocom/rah_maintenance

Togglable maintenance mode preference
https://github.com/gocom/rah_maintenance

php textpattern textpattern-plugin

Last synced: 5 days ago
JSON representation

Togglable maintenance mode preference

Awesome Lists containing this project

README

          

h1. rah_maintenance

"Download":https://github.com/gocom/rah_maintenance/releases | "Packagist":https://packagist.org/packages/rah/rah_maintenance | "Issues":https://github.com/gocom/rah_maintenance/issues

Togglable maintenance mode option for your Preferences panel. When on, unauthenticated visitors will see your error_503 page template.

h2. Install

Using "Composer":https://getcomposer.org:

bc. $ composer require rah/rah_maintenance

Or "download":https://github.com/gocom/rah_maintenance/releases an installer package.

h2. Usage

To enable maintenance mode, in the admin at *Preferences* / *Site*, set *Maintenance mode active?* option to *Yes*. Unauthenticated visitors will now see an 503 error page. To change what is displayed on the page, create a page template named @error_503@.

h2. Changelog

h3. Version 0.2.0 - 2019/04/21

* Drop backwards compatibility with legacy Textpattern versions.
* Now requires Textpattern 4.6.0 or newer.
* Now requires PHP >= 7.2.0.

h3. Version 0.1.1 - 2014/03/28

* Backwards compatibility with older Textpattern releases.

h3. Version 0.1.0 - 2013/05/15

* Initial release.