vers. 2.5.0

This commit is contained in:
2026-04-02 01:27:09 +02:00
parent 69e7efbf64
commit 9f0d5e94eb
74 changed files with 937 additions and 887 deletions

6
config/ajaxModule.inc.php Normal file → Executable file
View File

@@ -35,6 +35,9 @@ if ($is_ajax) {
include './pages/page/404.php';
}
break;
case 'podcast':
include './pages/page/podcast.php';
break;
case 'page':
switch ($param) {
case 'about':
@@ -46,9 +49,6 @@ if ($is_ajax) {
case 'copyright':
include './pages/page/copyright.php';
break;
case 'addradio':
include './pages/page/addradio.php';
break;
case 'termini-condizioni':
include './pages/page/terminicondizioni.php';
break;

0
config/config.php Normal file → Executable file
View File

0
config/getBasePath.inc.php Normal file → Executable file
View File

4
config/getPage.inc.php Normal file → Executable file
View File

@@ -5,8 +5,8 @@ header('Content-Type: text/html; charset=UTF-8');
// File: config/getPage.inc.php
// Whitelist delle pagine valide
$validPages = ['home', 'radio', 'tv', 'play', 'playtv', 'page'];
$validSubPages = ['about', 'contact', 'copyright', 'addradio', 'termini-condizioni', 'policy-privacy', 'changelog'];
$validPages = ['home', 'radio', 'tv', 'play', 'playtv', 'page', 'podcast'];
$validSubPages = ['about', 'contact', 'copyright', 'termini-condizioni', 'policy-privacy', 'changelog'];
// Rileva se l'utente sta usando un dispositivo mobile
function isMobile() {

0
config/getStation.inc.php Normal file → Executable file
View File