<?php
/* ============================================================================
 *  app_version.php  →  place in the SAME folder as login.php (auth/)
 *
 *  Returns a version token that changes whenever ANY .php file in the project is
 *  updated. Open pages poll this and reload themselves when it changes — so a
 *  deploy to the dashboard (or any page) shows up without close/reopen.
 * ==========================================================================*/
header('Content-Type: text/plain; charset=utf-8');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Pragma: no-cache');

require_once __DIR__ . '/../config/app_version.php';
echo app_version();