Files
easystream-main/templatebuilder_ajax.php
SamiAhmed7777 d22b3e1c0d feat: Add complete Docker deployment with web-based setup wizard
Major additions:
- Web-based setup wizard (setup.php, setup_wizard.php, setup-wizard.js)
- Production Docker configuration (docker-compose.prod.yml, .env.production)
- Database initialization SQL files (deploy/init_settings.sql)
- Template builder system with drag-and-drop UI
- Advanced features (OAuth, CDN, enhanced analytics, monetization)
- Comprehensive documentation (deployment guides, quick start, feature docs)
- Design system with accessibility and responsive layout
- Deployment automation scripts (deploy.ps1, generate-secrets.ps1)

Setup wizard allows customization of:
- Platform name and branding
- Domain configuration
- Membership tiers and pricing
- Admin credentials
- Feature toggles

Database includes 270+ tables for complete video streaming platform with
advanced features for analytics, moderation, template building, and monetization.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 01:42:31 -07:00

36 lines
901 B
PHP

<?php
/**
* Template Builder AJAX Handler Entry Point
* Routes AJAX requests to the template builder module
*/
// Set up JSON error handling
header('Content-Type: application/json');
try {
// Initialize constants
if (!defined('_INCLUDE')) {
define('_INCLUDE', true);
}
if (!defined('_ISVALID')) {
define('_ISVALID', true);
}
// Set up include path
$main_dir = realpath(dirname(__FILE__));
set_include_path($main_dir);
// Load core configuration which properly initializes session through VSession::init()
require_once 'f_core/config.core.php';
// Now load and execute the module's AJAX handler
require_once 'f_modules/m_frontend/templatebuilder_ajax.php';
} catch (Exception $e) {
http_response_code(500);
echo json_encode([
'success' => false,
'error' => 'Server error: ' . $e->getMessage()
]);
}
?>