Case Files Professional Mobile v0.5.19 — COMMERCIAL STAGING ONLY

Deploy only to /home/waonidmy/public_html/corfuconsulting.com/mobile-api.php

1. Back up the existing mobile-api.php on the staging server.
2. Upload mobile-api.php from this ZIP to the commercial staging document root.
3. Verify php -l mobile-api.php.
4. Test an assigned case in Android v0.5.19; Subject information and Case documents will populate from the case endpoint.

The document endpoint is GET /mobile-api.php?action=case_document&id=CASE_ID&document_id=DOCUMENT_ID
It requires an Authorization: Bearer token and a case access check. Do not open it as a public URL.
Android v0.5.19 currently lists documents but does not yet implement an authenticated document viewer/download UI. The API endpoint alone does not enable tapping files in the app.

Important: This patch relies on existing app/work.php and work_verified_path() from the commercial server for integrity-verified document retrieval. Confirm those exist before deployment.
No database migrations or changes to GIB production.
