diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 7b1b8a350d..c227c354f8 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -60,6 +60,9 @@ if (! $a->install) { if ($_REQUEST['schema']) { $schema = $_REQUEST['schema']; } + +$schema = basename($schema); + if (($schema) && ($schema != '---')) { if (file_exists('view/theme/frio/schema/' . $schema . '.php')) { $schemefile = 'view/theme/frio/schema/' . $schema . '.php';