<?php
// FormBuilder config — generated by setup wizard 2026-04-06 02:42:37

define('DB_HOST',    'localhost');
define('DB_PORT',    3306);
define('DB_NAME',    'rakilluy_formbuilder');
define('DB_USER',    'rakilluy_formbuilder');
define('DB_PASS',    'rakilluy_formbuilder');
define('GOOGLE_CLIENT_ID', '455351455903-nv5buf7mrbn5o7519djjspqlrgbi4m57.apps.googleusercontent.com');
define('GOOGLE_CLIENT_SECRET', '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');

define('ADMIN_PASSWORD',  'rakilluy_formbuilder');
define('ADMIN_SESSION_TTL', 28800);

define('APP_NAME',    'FormBuilder');
define('APP_URL',     'https://creditdude.rakibhasaan.com/formbuilder');
define('APP_TIMEZONE','UTC');

define('FROM_EMAIL', 'info@rakibhasaan.com');
define('FROM_NAME', 'RK WEB STUDIO ');
define('ADMIN_EMAIL', 'info@rakibhasaan.com');

define('SMTP_HOST', 'premium106.web-hosting.com');
define('SMTP_PORT', 465);
define('SMTP_SECURE', 'ssl');
define('SMTP_USER', 'info@rakibhasaan.com');
define('SMTP_PASS', 'premium106.web-hosting.com');

define('UPLOAD_MAX_MB',       10);
define('EMAIL_ATTACH_MAX_MB',  8);
define('ALLOWED_EXTENSIONS', 'jpg,jpeg,png,gif,pdf,doc,docx,xls,xlsx,txt,zip');
define('RATE_LIMIT_MAX',    10);
define('RATE_LIMIT_WINDOW', 3600);
define('ALLOWED_ORIGIN', 'https://creditdude.rakibhasaan.com/');
// ── Booking / Stripe ──────────────────────────────────────────
define('STRIPE_SECRET_KEY', 'sk_test_51TCoPYBqTcGepwu29s0B39SU90FwnFBOgPTUC0b4B0nbdL21TGNvhci8R6PyRIwdTSeR5aCegW63BX3vIvjFvQrE00qx0qIyPy');   // sk_live_... or sk_test_...
define('STRIPE_PUBLISHABLE_KEY', 'pk_test_51TCoPYBqTcGepwu2vZAg1XSJPPXW84hLyPEhvwWUFosTau14AVa3i04NX6ASaAGZx7aKxUH4HAPRN3y8WtOw1vhf008OYIuh78');   // pk_live_... or pk_test_...
define('STRIPE_WEBHOOK_SECRET', '');   // whsec_...
define('STRIPE_CURRENCY', 'eur');
define('STRIPE_MODE', 'test'); // test | live
define('STRIPE_TEST_SECRET_KEY', 'sk_test_51TCoPYBqTcGepwu29s0B39SU90FwnFBOgPTUC0b4B0nbdL21TGNvhci8R6PyRIwdTSeR5aCegW63BX3vIvjFvQrE00qx0qIyPy');
define('STRIPE_TEST_PUBLISHABLE_KEY', 'pk_test_51TCoPYBqTcGepwu2vZAg1XSJPPXW84hLyPEhvwWUFosTau14AVa3i04NX6ASaAGZx7aKxUH4HAPRN3y8WtOw1vhf008OYIuh78');
define('STRIPE_TEST_WEBHOOK_SECRET', '');
define('STRIPE_LIVE_SECRET_KEY', '');
define('STRIPE_LIVE_PUBLISHABLE_KEY', '');
define('STRIPE_LIVE_WEBHOOK_SECRET', '');

// QR signing secret (required for member QR passes)
if (!defined('QR_SIGNING_SECRET')) define('QR_SIGNING_SECRET', 'change-this-to-a-long-random-secret');

// Cron secret — set this to a long random string, then use it in your cPanel cron URL
// Example cron command: curl -s "https://yourdomain.com/formbuilder/cron.php?key=YOUR_CRON_SECRET" > /dev/null
if (!defined('CRON_SECRET')) define('CRON_SECRET', 'change-this-to-a-long-random-secret');
