diff options
| -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'] ?? ''); |
