1
0
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:
camer0n 2025-01-23 15:02:24 -08:00
parent 9d328545d0
commit 09de2c1ba2
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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)