╔═══════════════════════════════════════════════════════════════╗
║          GALERIKU PROMAX v2.0 - INSTALLATION GUIDE           ║
╚═══════════════════════════════════════════════════════════════╝

🚀 CARA INSTALL DI CPANEL:

1. UPLOAD FILES:
   - Upload semua file ke public_html/galeriku-promax/
   - Pastikan struktur folder tetap terjaga

2. SET PERMISSIONS:
   chmod 755 public/
   chmod 755 includes/
   chmod 777 storage/ (recursive)
   chmod 777 storage/users/ (recursive)

3. BUKA BROWSER:
   http://yourdomain.com/galeriku-promax/public/login.php

4. LOGIN DEFAULT:
   Username: admin
   Password: password

5. GANTI PASSWORD:
   - Setelah login, buka Settings
   - Ubah password default

═══════════════════════════════════════════════════════════════

🔧 KONFIGURASI:

File: includes/config.php
- Sesuaikan BASE_URL jika perlu
- Enable HTTPS dengan set session.cookie_secure = 1
- Ubah timezone jika perlu (default: Asia/Jakarta)

═══════════════════════════════════════════════════════════════

✨ FITUR BARU v2.0:

✅ User Management System
   - Unique user ID untuk setiap user
   - Role-based access (Admin/User)
   - Profile management lengkap

✅ Per-User Storage
   - Setiap user punya folder sendiri
   - Storage tracking otomatis
   - Upload counter akurat

✅ Activity Logging
   - Semua aksi user tercatat
   - Login history tracking
   - Failed login attempts

✅ Modern UI/UX
   - Responsive design
   - Dark mode support
   - Smooth animations
   - New SVG icons

✅ Security Enhanced
   - CSRF protection
   - Session management
   - Input validation
   - File type verification

✅ Image Features
   - PNG transparency preserved
   - Automatic optimization
   - Thumbnail generation
   - Rename & delete
   - Per-user organization

═══════════════════════════════════════════════════════════════

📝 BUG FIXES:

✓ Fixed user ID inconsistency
✓ Fixed total uploads/logins counter
✓ Fixed avatar upload errors
✓ Fixed username change bugs
✓ Fixed storage calculation
✓ Fixed CSRF token validation
✓ Fixed session timeout issues
✓ Fixed file permission problems

═══════════════════════════════════════════════════════════════

📞 SUPPORT:

Jika ada masalah:
1. Check error.log di folder storage/
2. Pastikan permissions sudah benar
3. Clear browser cache & cookies
4. Regenerate session

═══════════════════════════════════════════════════════════════

Created by: ImmortalDev
Version: 2.0 ProMax
Date: November 2024
