diff options
| author | root <root@caddy-256phi.local> | 2026-04-01 13:33:26 +0200 |
|---|---|---|
| committer | root <root@caddy-256phi.local> | 2026-04-01 13:33:26 +0200 |
| commit | 09ff2693ba98ec08317a47cbe038ffa79373cf21 (patch) | |
| tree | f805b8164a0909ad64d13b9dfa1b71d91a155400 | |
| parent | fd4469a9334a98677caa74d7aa512c89a98454e3 (diff) | |
| parent | 4bcb9b1eec0ed39a13d86f7508b48911ef0a63fd (diff) | |
Merge branch 'master' of 10.0.0.37:/srv/git/256phi-mainWebsite
| -rw-r--r-- | src/Pages/commissions/commissions.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Pages/commissions/commissions.php b/src/Pages/commissions/commissions.php index 2b34a5e..215db6d 100644 --- a/src/Pages/commissions/commissions.php +++ b/src/Pages/commissions/commissions.php @@ -1,8 +1,3 @@ -<?php -// Debug - enable error reporting -ini_set('display_errors', 1); -error_reporting(E_ALL); -?> <!DOCTYPE html> <html lang="en"> <head> @@ -352,18 +347,10 @@ error_reporting(E_ALL); $success = false; $error = ''; - // DEBUG - remove after testing - if ($_SERVER['REQUEST_METHOD'] === 'POST') { - echo "<pre style='background:#333;color:#0f0;padding:10px;'>DEBUG POST:\n"; - print_r($_POST); - echo "</pre>"; - } - if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Honeypot check if (!empty($_POST['website'])) { // Bot detected, silently ignore - echo "<p style='color:red;'>DEBUG: Honeypot triggered!</p>"; $success = true; } else { $name = trim($_POST['name'] ?? ''); |
