- updated "maintenance hint" with new release information v1.4.1

- improved "maintenance hint" rendering, toggle visibility by HTTP response header
This commit is contained in:
Mark Friedrich
2018-09-26 13:53:19 +02:00
parent 6e9920bd93
commit b157b5bd0b
10 changed files with 185 additions and 189 deletions

View File

@@ -141,7 +141,7 @@ abstract class AbstractSlackWebhookHandler extends Handler\AbstractProcessingHan
CURLOPT_URL => $this->webhookUrl,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-type: application/json'],
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => $postString
];
if (defined('CURLOPT_SAFE_UPLOAD')) {