eye4web / eye4web-zfc-user-warnings-ban
根据警告次数/总权重禁用用户
0.0.3
2016-12-23 22:34 UTC
Requires
- php: >=5.4
- eye4web/eye4web-zfc-user-ban: ^0.0
- eye4web/eye4web-zfc-user-warnings: ^0.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: 1.5.*
This package is not auto-updated.
Last update: 2024-09-20 03:33:23 UTC
README
简介
此模块允许您在用户收到x次警告或达到总警告权重后禁止用户。
安装
使用composer
-
将此项目的composer.json添加到您的项目中
"require": { "eye4web/eye4web-zfc-user-warnings-ban": "dev-master" }
-
现在运行以下命令让composer下载模块
php composer.phar update
-
在您的
application.config.php
文件中启用它。<?php return array( 'modules' => array( // ... 'Eye4web\ZfcUser\WarningsBan' ), // ... );
-
将配置从
config/eye4web-zfcuser-warnings-ban.global.php.dist
复制到您的autoload文件夹中。