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:
@@ -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']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user