Page MenuHomeDevCentral

D2481.id6255.diff
No OneTemporary

D2481.id6255.diff

diff --git a/src/Service.php b/src/Service.php
--- a/src/Service.php
+++ b/src/Service.php
@@ -98,6 +98,8 @@
*/
private static function isAliveRequest() : bool {
return
+ array_key_exists('REQUEST_METHOD', $_SERVER)
+ &&
($_SERVER['REQUEST_METHOD'] === 'GET' || $_SERVER['REQUEST_METHOD'] === 'HEAD')
&&
static::getUri() === '/status';

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 11:56 (18 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2345143
Default Alt Text
D2481.id6255.diff (410 B)

Event Timeline