vBot-2.1 / customer_webhook /config /config.example.php
Ajit Panday
Update dependencies and Hugging Face configuration
7d72bcf
raw
history blame contribute delete
957 Bytes
<?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');