1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-10 10:40:15 +02:00

Enable Fail2ban in Autodiscover

This commit is contained in:
Phoenix Eve Aspacio 2017-07-23 21:27:18 +08:00 committed by GitHub
parent 83d485dd94
commit e26563d51e

View File

@ -7,6 +7,10 @@ if(file_exists('inc/vars.local.inc.php')) {
}
$configuration = array_merge($default_autodiscover_config, $autodiscover_config);
// Redis
$redis = new Redis();
$redis->connect('redis-mailcow', 6379);
error_reporting(0);
$data = trim(file_get_contents("php://input"));