VPN System - MySQL Update ========================= CHANGED FILES: - config.php (DB credentials - edit this) - app.php (all functions - replaces old config.php logic) - install.php (run once to setup DB) - pages/*.php (all pages updated) SETUP STEPS: 1. Upload all files to your server (replace existing) 2. Open Aapanel -> MySQL -> Create database + user 3. Edit config.php: - DB_HOST = localhost - DB_NAME = your_database_name - DB_USER = your_database_user - DB_PASS = your_database_password - ENCRYPT_KEY = (already set by install.php) 4. Go to: https://yoursite.com/vpn/install.php 5. Fill in details and click Install 6. DELETE install.php after success! SECURITY: - Admin password: bcrypt hashed in database - Server API passwords: AES-256-CBC encrypted in database - Change admin password from Admin -> Settings after install