🚨 CRITICAL: Fixed deployment blockers by adding missing core directories: **Community System (CRITICAL)** - includes/community/ - Login_Handler and all community classes - templates/community/ - Community login forms **Certificate System (CRITICAL)** - includes/certificates/ - 8+ certificate classes and handlers - templates/certificates/ - Certificate reports and generation templates **Core Individual Classes (CRITICAL)** - includes/class-hvac-event-summary.php - includes/class-hvac-trainer-profile-manager.php - includes/class-hvac-master-dashboard-data.php - Plus 40+ other individual HVAC classes **Major Feature Systems (HIGH)** - includes/database/ - Training leads database tables - includes/find-trainer/ - Find trainer directory and MapGeo integration - includes/google-sheets/ - Google Sheets integration system - includes/zoho/ - Complete Zoho CRM integration - includes/communication/ - Communication templates system **Template Infrastructure** - templates/attendee/, templates/email-attendees/ - templates/event-summary/, templates/status/ - templates/template-parts/ - Shared template components **Impact:** - 70+ files added covering 10+ missing directories - Resolves ALL deployment blockers and feature breakdowns - Plugin activation should now work correctly - Multi-machine deployment fully supported 🔧 Generated with Claude Code Co-Authored-By: Ben Reed <ben@tealmaker.com>
33 lines
No EOL
1.3 KiB
PHP
33 lines
No EOL
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Zoho CRM Configuration Template
|
|
*
|
|
* Copy this file to zoho-config.php and fill in your credentials
|
|
* DO NOT commit zoho-config.php to version control!
|
|
*/
|
|
|
|
// Zoho OAuth Credentials - Load from environment if available
|
|
define('ZOHO_CLIENT_ID', getenv('ZOHO_CLIENT_ID') ?: 'YOUR_CLIENT_ID_HERE');
|
|
define('ZOHO_CLIENT_SECRET', getenv('ZOHO_CLIENT_SECRET') ?: 'YOUR_CLIENT_SECRET_HERE');
|
|
define('ZOHO_REFRESH_TOKEN', getenv('ZOHO_REFRESH_TOKEN') ?: 'YOUR_REFRESH_TOKEN_HERE');
|
|
define('ZOHO_REDIRECT_URI', getenv('ZOHO_REDIRECT_URI') ?: 'http://localhost:8080/callback');
|
|
|
|
// Zoho API Settings
|
|
define('ZOHO_API_BASE_URL', 'https://www.zohoapis.com');
|
|
define('ZOHO_ACCOUNTS_URL', 'https://accounts.zoho.com');
|
|
define('ZOHO_ORGANIZATION_ID', 'YOUR_ORG_ID_HERE');
|
|
|
|
// API Scopes
|
|
define('ZOHO_SCOPES', 'ZohoCRM.settings.all,ZohoCRM.modules.all,ZohoCRM.users.all');
|
|
|
|
// Optional: Region-specific settings
|
|
// For EU: 'https://accounts.zoho.eu' and 'https://www.zohoapis.eu'
|
|
// For IN: 'https://accounts.zoho.in' and 'https://www.zohoapis.in'
|
|
// For AU: 'https://accounts.zoho.com.au' and 'https://www.zohoapis.com.au'
|
|
|
|
// Development/Production flag
|
|
define('ZOHO_ENVIRONMENT', 'development'); // 'development' or 'production'
|
|
|
|
// Error logging
|
|
define('ZOHO_DEBUG_MODE', true);
|
|
define('ZOHO_LOG_FILE', WP_CONTENT_DIR . '/zoho-crm-debug.log'); |