Enrober 1.2.0 Released

Enrober 1.2.0 has been released. This release adds a few new features and contains a major change in the way filters are handled. The internal changes have allowed the head, body and footer to be filtered individually. It also enabled early head flushing when output buffers or filters have not caused the entire page to be buffered. For more info checkout the add_filter() entry in the included documentation.

The other major addition is maintenance mode. Maintenance mode can be enabled by setting the ENROBER_MAINTENANCE_DONE_AT constant in the config file. Blocked pages are controlled by two files in the cfg directory, maintenance-allow.txt and maintenance-disallow.txt. If either of these does not exist in your install create it by copying the .default.txt version. To be accessible during maintenance mode a page URL must first match a pattern in the maintenance-allow.txt whitelist, and not match any patterns in the maintenance-disallow.txt blacklist.

By default maintenance mode blocks access to all pages. To allow a page to be accessed during maintenance mode add a Regular Expression line to maintenance-allow.txt it that matches the page(s) you want to allow. Likewise, make sure the page you want to allow does not match an of the patterns in maintenance-disallow.txt.

While in maintenance mode any page requests that do not come from the IP address contained in the ENROBER_MAINTENANCE_IP config constant will receive a HTTP 503 Service Unavailable response served with maintenance.html from the cfg directory (or maintenance.default.html if you have not created a customized maintenance.html).

Version 1.2.0 can be downloaded at the Enrober homepage.

There are no tags on this post

Previous: Help promote better JavaScript documentation with the Promote JS campaign

Next: UCSV 1.1.0 released