Add backward-compatibility for config variables after schema rename
This commit is contained in:
parent
86e4690b5f
commit
7feeb0af78
4 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ if (!isset($minimal)) {
|
|||
if (is_null($uid)) {
|
||||
$uid = Profile::getThemeUid();
|
||||
}
|
||||
$scheme = PConfig::get($uid, 'frio', 'scheme');
|
||||
$scheme = PConfig::get($uid, 'frio', 'scheme', PConfig::get($uid, 'frio', 'schema'));
|
||||
if (($scheme) && ($scheme != '---')) {
|
||||
if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {
|
||||
$schemefile = 'view/theme/frio/scheme/' . $scheme . '.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue