# ZFlow License Server

No database needed. Uses a simple JSON file. Upload to: https://example.com/license_server/

## Setup

1. **config.php**: Change `ADMIN_PASSWORD` for admin panel login.

2. **Upload** the whole folder to your domain, e.g.:
   - https://example.com/license_server/

3. **Tool config**: In your ZFlow tool folder, create `license_config.json`:
   ```json
   {
     "api_base_url": "https://example.com/license_server"
   }
   ```

4. Open `admin.php` → Login → Create keys.

## Files

- `config.php` - Admin username/password only
- `data.php` - JSON file read/write (internal)
- `api.php` - License validation (called by tool)
- `admin.php` - Create, delete, list keys
- `license_data.json` - Auto-created on first key

One key = one device. Delete key in admin to revoke access.
