Spaces:
Sleeping
Sleeping
File size: 957 Bytes
7d72bcf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<?php
// Database configuration
define('DB_HOST', 'localhost');
define('DB_NAME', 'vbot_calls');
define('DB_USER', 'your_db_user');
define('DB_PASS', 'your_db_password');
// vBot API configuration
define('VBOT_API_KEY', 'your_api_key_here'); // API key provided by vBot
define('WEBHOOK_SECRET', 'your_webhook_secret_here'); // Optional secret for additional security
// Error reporting
error_reporting(E_ALL);
ini_set('display_errors', 0); // Set to 1 for development
ini_set('log_errors', 1);
ini_set('error_log', __DIR__ . '/../logs/error.log');
// Response settings
define('ALLOW_ORIGIN', '*'); // Set to your domain in production
define('MAX_RETRIES', 3); // Maximum number of retry attempts
define('RETRY_DELAY', 5); // Delay between retries in seconds
// Custom processing
define('ENABLE_CUSTOM_PROCESSING', false); // Set to true to enable custom processing
define('CUSTOM_PROCESSOR_FILE', __DIR__ . '/../src/custom_processor.php'); |