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>
This commit is contained in:
19
templates.php
Normal file
19
templates.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Builder - User Entry Point
|
||||
*
|
||||
* This page provides access to the template builder system
|
||||
*/
|
||||
|
||||
// Include core configuration
|
||||
require_once dirname(__FILE__) . '/f_core/config.core.php';
|
||||
|
||||
// Check if user is logged in
|
||||
if (!isset($_SESSION['USER_ID']) || $_SESSION['USER_ID'] <= 0) {
|
||||
header('Location: /signin.php?redirect=' . urlencode($_SERVER['REQUEST_URI']));
|
||||
exit;
|
||||
}
|
||||
|
||||
// Redirect to the template manager
|
||||
header('Location: /f_modules/m_backend/template_manager.php');
|
||||
exit;
|
||||
Reference in New Issue
Block a user