mirror of
https://github.com/e107inc/e107.git
synced 2025-01-31 04:07:55 +01:00
Prevent non-working admin area.
This commit is contained in:
parent
9d328545d0
commit
09de2c1ba2
@ -27,7 +27,7 @@ define('e_CAPTCHA_FONTCOLOR','#F9A533');
|
|||||||
// Required for a clean v1.x -> v2 upgrade.
|
// Required for a clean v1.x -> v2 upgrade.
|
||||||
$core = e107::getConfig();
|
$core = e107::getConfig();
|
||||||
$adminTheme = $core->get('admintheme');
|
$adminTheme = $core->get('admintheme');
|
||||||
if($adminTheme !== 'bootstrap3' && $adminTheme !== 'bs5')
|
if($adminTheme !== 'bootstrap3' /*&& $adminTheme !== 'bootstrap5'*/)
|
||||||
{
|
{
|
||||||
$core->update('admintheme','bootstrap3');
|
$core->update('admintheme','bootstrap3');
|
||||||
$core->update('adminstyle','infopanel');
|
$core->update('adminstyle','infopanel');
|
||||||
|
@ -1054,7 +1054,7 @@ class theme_admin_online_tree_model extends e_tree_model
|
|||||||
class theme_admin_form_ui extends e_admin_form_ui
|
class theme_admin_form_ui extends e_admin_form_ui
|
||||||
{
|
{
|
||||||
|
|
||||||
private $approvedAdminThemes = array('bootstrap3', 'bootstrap5', 'bs5');
|
private $approvedAdminThemes = array('bootstrap3'/*, 'bootstrap5'*/);
|
||||||
|
|
||||||
|
|
||||||
function price($curVal)
|
function price($curVal)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user