Add backward-compatibility for config variables after schema rename

This commit is contained in:
Hypolite Petovan 2018-04-26 04:22:04 -04:00
commit 7feeb0af78
4 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ function get_scheme_info($scheme)
{
$theme = current_theme();
$themepath = 'view/theme/' . $theme . '/';
$scheme = PConfig::get(local_user(), 'frio', 'scheme');
$scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme'));
$info = [
'name' => $scheme,