Init Redis Connection in Autodiscover

master
Phoenix Eve Aspacio 2017-08-13 11:46:24 +08:00 committed by GitHub
parent 48318a4999
commit 29c6990930
1 changed files with 4 additions and 0 deletions

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