vers. 2.5.0
This commit is contained in:
6
config/ajaxModule.inc.php
Normal file → Executable file
6
config/ajaxModule.inc.php
Normal file → Executable 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
0
config/config.php
Normal file → Executable file
0
config/getBasePath.inc.php
Normal file → Executable file
0
config/getBasePath.inc.php
Normal file → Executable file
4
config/getPage.inc.php
Normal file → Executable file
4
config/getPage.inc.php
Normal file → Executable 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
0
config/getStation.inc.php
Normal file → Executable file
Reference in New Issue
Block a user