sheridan/zf2-maintenance-mode 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sheridan/zf2-maintenance-mode

Composer 安装命令:

composer require sheridan/zf2-maintenance-mode

包简介

A simple maintenance mode plugin for ZF2. When enabled displays a scheduled maintenance page, supports allowed IP addresses.

README 文档

README

zf2MaintenanceMode

Introduction

A simple maintenance mode plugin for ZF2. When enabled displays a scheduled maintenance page, supports allowed IP addresses.

Installation

Using composer

  1. Add sheridan/zf2-maintenance-mode (version dev-master) to requirements
  2. Run update command on composer
  3. Add zf2MaintenanceMode to your application.config.php file

Manually

Clone this project into your ./vendor/ directory and enable it in your application.config.php file.

Requires

PHP >= 5.3.3

Configuration

Create a config/maintenance.global.php file with the following contents

```
	<?php
	return array(
		'zf2MaintenanceMode' => array (
		'enabled' => true,
		'retry-after' => 3600,
		'allowed' => array(
			'127.0.0.1',
		),
	);
```

Features

  1. index.phtml file the content
  2. layout.phtml overrides global site layout

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固