1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-18 04:59:16 +02:00

Init Redis Connection in Autodiscover

This commit is contained in:
Phoenix Eve Aspacio 2017-08-13 11:46:24 +08:00 committed by GitHub
parent 48318a4999
commit 29c6990930

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"));