lorenzoferrarajr/lfj-error-layout
Composer 安装命令:
composer require lorenzoferrarajr/lfj-error-layout
包简介
LfjErrorLayout is a ZF2 module that allows you to use an alternative layout when a dispatch errors occur.
关键字:
README 文档
README
Version 1.0 Created By Lorenzo Ferrara Junior
Introduction
LfjErrorLayout is a ZF2 module that allows you to use an alternative layout when a dispatch errors occur.
Usage
To enable the module just add it to your application.config.php file.
Note that you must add it before any other module or your custom configuration options could be replaced with the default ones!
Configuration
Optionally, you can configure your custom layout/error, error/404 and error/index paths in the view_manager option in any module configuration:
return array( [...] 'view_manager' => array( [...] 'layout/error' => __DIR__ . '/../view/layout/error.phtml', 'error/404' => __DIR__ . '/../view/error/404.phtml', 'error/index' => __DIR__ . '/../view/error/index.phtml', [...] ) [...] );
统计信息
- 总下载量: 924
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-09-21