From 09de2c1ba241764f5c32cd3bb861986969015eed Mon Sep 17 00:00:00 2001 From: camer0n Date: Thu, 23 Jan 2025 15:02:24 -0800 Subject: [PATCH] Prevent non-working admin area. --- e107_admin/auth.php | 2 +- e107_admin/theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/auth.php b/e107_admin/auth.php index 2ff8ca6ee..b02602035 100644 --- a/e107_admin/auth.php +++ b/e107_admin/auth.php @@ -27,7 +27,7 @@ define('e_CAPTCHA_FONTCOLOR','#F9A533'); // Required for a clean v1.x -> v2 upgrade. $core = e107::getConfig(); $adminTheme = $core->get('admintheme'); -if($adminTheme !== 'bootstrap3' && $adminTheme !== 'bs5') +if($adminTheme !== 'bootstrap3' /*&& $adminTheme !== 'bootstrap5'*/) { $core->update('admintheme','bootstrap3'); $core->update('adminstyle','infopanel'); diff --git a/e107_admin/theme.php b/e107_admin/theme.php index 3a68cb861..f93556bf5 100644 --- a/e107_admin/theme.php +++ b/e107_admin/theme.php @@ -1054,7 +1054,7 @@ class theme_admin_online_tree_model extends e_tree_model class theme_admin_form_ui extends e_admin_form_ui { - private $approvedAdminThemes = array('bootstrap3', 'bootstrap5', 'bs5'); + private $approvedAdminThemes = array('bootstrap3'/*, 'bootstrap5'*/); function price($curVal)