mirror of
https://github.com/e107inc/e107.git
synced 2025-08-09 08:06:38 +02:00
Admin template fix
This commit is contained in:
@@ -314,21 +314,16 @@ function update_706_to_800($type='')
|
||||
|
||||
*/
|
||||
|
||||
$setCorePrefs = array( //modified prefs during upgrade.
|
||||
$setCorePrefs = array( //modified prefs during upgrade.
|
||||
'adminstyle' => 'infopanel',
|
||||
'admintheme' => 'jayya'
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$do_save = TRUE;
|
||||
|
||||
foreach($setCorePrefs as $k=>$v)
|
||||
{
|
||||
$pref[$k] = $v;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$do_save = TRUE;
|
||||
|
||||
|
||||
// List of changed menu locations.
|
||||
@@ -362,6 +357,13 @@ function update_706_to_800($type='')
|
||||
|
||||
$just_check = $type == 'do' ? FALSE : TRUE; // TRUE if we're just seeing whether an update is needed
|
||||
|
||||
if (!$just_check)
|
||||
{
|
||||
foreach($setCorePrefs as $k=>$v)
|
||||
{
|
||||
$pref[$k] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$just_check)
|
||||
{
|
||||
|
Reference in New Issue
Block a user