Merge pull request #6747 from nupplaphil/issue/6677-frio_admin
Fixing frio theme customization for admin
This commit is contained in:
commit
8adc761da0
|
@ -17,13 +17,16 @@
|
|||
* 'version' => Scheme version
|
||||
* 'overwrites' => Variables which overwriting custom settings
|
||||
*/
|
||||
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
function get_scheme_info($scheme)
|
||||
{
|
||||
$theme = \get_app()->getCurrentTheme();
|
||||
$themepath = 'view/theme/' . $theme . '/';
|
||||
$scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme'));
|
||||
if (empty($scheme)) {
|
||||
$scheme = PConfig::get(local_user(), 'frio', 'scheme', PConfig::get(local_user(), 'frio', 'scheme'));
|
||||
}
|
||||
|
||||
$info = [
|
||||
'name' => $scheme,
|
||||
|
|
Loading…
Reference in New Issue
Block a user