# Files to Delete - GenieACS

## ✅ Files STILL IN USE (DO NOT DELETE)

### Core Files:
1. ✅ `main.php` - Main page (loaded by index.php)
2. ✅ `api.php` - Core API functions
3. ✅ `api_devices_fast.php` - Device list (FAST version - USED)
4. ✅ `config.php` - Configuration
5. ✅ `config.example.php` - Example config
6. ✅ `settings.php` - Settings page
7. ✅ `lib/GenieACS_Fast.class.php` - Fast parser class
8. ✅ `lib/GenieACS.class.php` - GenieACS API wrapper

### Supporting Files:
9. ✅ `device_detail.php` - Device detail modal
10. ✅ `refresh_device.php` - Refresh device endpoint
11. ✅ `save_wifi.php` - Save WiFi settings endpoint

### Debug/Test Files (Useful):
12. ✅ `debug_device_data.php` - Debug tool (USEFUL!)
13. ✅ `test_fast_parser.php` - Performance test (USEFUL!)
14. ✅ `test_connection.php` - Connection test (USEFUL!)

### Documentation:
15. ✅ All `.md` files - Documentation

---

## ❌ Files TO DELETE (Obsolete/Unused)

### Old/Replaced Files:
1. ❌ `api_devices.php` - OLD version (replaced by api_devices_fast.php)
2. ❌ `index.php` - Not used (main.php is used instead)
3. ❌ `simple.php` - Test file, not used
4. ❌ `minimal.php` - Test file, not used
5. ❌ `device_table.php` - Old table, not used

### Test Files (No longer needed):
6. ❌ `test.php` - Old test
7. ❌ `test_data.php` - Old test
8. ❌ `test_auth.php` - Old test
9. ❌ `check_curl.php` - Old test
10. ❌ `check_ssid.php` - Old test
11. ❌ `connection_test.php` - Duplicate of test_connection.php
12. ❌ `direct_test.php` - Old test
13. ❌ `debug_device.php` - Old debug (use debug_device_data.php)

### Fix Tools (Already used, can delete):
14. ❌ `fix_port.php` - Already fixed, not needed anymore
15. ❌ `force_fix_config.php` - Already fixed, not needed anymore

---

## Summary

**Total Files:** 29
**Keep:** 15 files
**Delete:** 14 files

**Space saved:** ~200KB (estimated)
