Add disabled mode

This commit is contained in:
Pierre Rudloff 2015-01-07 11:04:06 +01:00
parent 69fec2bcb1
commit 5b7a90eb97
3 changed files with 54 additions and 1 deletions

View file

@ -12,7 +12,9 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
if (MAINTENANCE) {
if (DISABLED) {
header('Location: disabled.php'); exit;
} else if (MAINTENANCE) {
header('Location: maintenance.php'); exit;
}
?>