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:
25
index.php
25
index.php
@@ -12,28 +12,7 @@
|
||||
|*******************************************************************************************************************
|
||||
| Copyright (c) 2025 Sami Ahmed. All rights reserved.
|
||||
|*******************************************************************************************************************/
|
||||
define('_ISVALID', true);
|
||||
|
||||
include_once 'f_core/config.core.php';
|
||||
|
||||
// Handle sidebar toggle parameters (original EasyStream functionality)
|
||||
$m = VSecurity::getParam('m', 'string');
|
||||
$n = VSecurity::getParam('n', 'string');
|
||||
if ($m !== null || $n !== null) {
|
||||
$_SESSION['sbm'] = ($m !== null) ? 1 : 0;
|
||||
exit;
|
||||
}
|
||||
|
||||
// Initialize sidebar as visible for new users if not set
|
||||
if (!isset($_SESSION['sbm'])) {
|
||||
$_SESSION['sbm'] = 1;
|
||||
}
|
||||
|
||||
// Load language files for homepage
|
||||
include_once $class_language->setLanguageFile('frontend', 'language.home');
|
||||
include_once $class_language->setLanguageFile('frontend', 'language.global');
|
||||
include_once $class_language->setLanguageFile('frontend', 'language.files');
|
||||
|
||||
// Display the homepage using Smarty template system
|
||||
echo $class_smarty->displayPage('frontend', 'tpl_index');
|
||||
// Use the parser system for all requests
|
||||
include 'parser.php';
|
||||
?>
|
||||
Reference in New Issue
Block a user