feat: add project-level env configuration for collector
This commit is contained in:
6 files changed
+249
-30
No files matched your search
+2
-1
@@ -17,11 +17,12 @@ session_start();
|
||||
|
||||
sendSecurityHeaders();
|
||||
|
||||
$config = collectorConfig();
|
||||
$method = strtoupper((string) ($_SERVER['REQUEST_METHOD'] ?? 'GET'));
|
||||
$action = scalarRequestValue('action', 32) ?? '';
|
||||
|
||||
try {
|
||||
$config = collectorConfig();
|
||||
|
||||
if ($method === 'GET' && $action === 'captcha') {
|
||||
servePendingCaptcha();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user