View file www/cgf/theme.php
<?php if (isset($_GET['cms_tema_to']) && is_file($cms.'dis/'.$_GET['cms_tema_to'].'/tema.html')) { $_SESSION['cms_theme'] = $_GET['cms_tema_to']; } $cms_theme_UP = trim(file_get_contents($cms.'cgf/tema.txt')); if ($_SESSION['cms_theme'] == '' || !is_file($cms.'dis/'.$_SESSION['cms_theme'].'/tema.html')) { $_SESSION['cms_theme'] = $cms_theme_UP; } ?>