Skip to content

Commit

Permalink
Prevent non-working admin area.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Jan 23, 2025
1 parent 9d32854 commit 09de2c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e107_admin/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// 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');
Expand Down
2 changes: 1 addition & 1 deletion e107_admin/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09de2c1

Please sign in to comment.