diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-01 13:32:33 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-01 13:32:33 +0200 |
| commit | 4bcb9b1eec0ed39a13d86f7508b48911ef0a63fd (patch) | |
| tree | 74d6da49b11a73468a224a1eb7f9d7b21c0bf30e | |
| parent | 676e4f65e13cc4f95facdf450a842245751b333f (diff) | |
Removed debug code
| -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'] ?? ''); |
