Nuova UI disegnata sul tema RPIGroup Radio Theme dei siti del gruppo: guscio unico responsive (sidebar e player in basso da 900px, topbar e tab bar su telefono), player della radio persistente nel dock con now playing, HLS/MP3, volume e Media Session; pagine radio, tv, podcast (copertine e programma dal feed), player e pagine di testo rifatte; icone SVG inline al posto di Bootstrap, jQuery e Material Icons; font Bricolage Grotesque e Plus Jakarta Sans in locale; service worker v5, manifest con orientamento libero, icone PWA 192 e 384 rigenerate. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
10 lines
453 B
PHP
10 lines
453 B
PHP
<?php
|
|
|
|
header('Content-Type: text/html; charset=UTF-8');
|
|
|
|
// Determina il percorso base dell'applicazione (su Windows dirname() usa la barra rovesciata: la normalizziamo)
|
|
$script_name = $_SERVER['SCRIPT_NAME'];
|
|
$script_path = str_replace(DIRECTORY_SEPARATOR, '/', dirname($script_name));
|
|
$base_path = rtrim($script_path, '/');
|
|
$base_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$base_path";
|