1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Issue #5473 Styling tweaks. Upgrade routine and fresh install settings.

This commit is contained in:
camer0n
2025-04-26 08:29:35 -07:00
parent 68c0eb8505
commit 3b76d41cc6
3 changed files with 14 additions and 5 deletions

View File

@@ -644,6 +644,15 @@ function update_core_database($type = '')
$just_check = !($type == 'do');
$pref = e107::getPref();
if(!$just_check)
{
if(e107::getConfig()->get('admincss') !== 'css/modern-dark-2.css')
{
e107::getConfig()->set('admincss','css/modern-dark-2.css')->save(false,true,false);
e107::getMessage()->addSuccess("Admin skin has been updated to Modern Dark 2");
}
}
if(!isset($pref['lan_global_list']['news']))
{