Merge pull request #45 from EngineGPDev/Fixed-the-display-of-the-admin-panel

Fixed the display of the admin panel
This commit is contained in:
Sergei Solovev 2023-03-21 23:42:43 +03:00 committed by GitHub
commit 0fdbea854e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,9 +78,9 @@
$cfg['currency'], $cfg['currency'],
$cfg['http'].'acp/', $cfg['http'].'acp/',
$cfg['http'], $cfg['http'],
$cfg['http'].'template/acp/js/', $cfg['http'].'acp/template/js/',
$cfg['http'].'template/acp/css/', $cfg['http'].'acp/template/css/',
$cfg['http'].'template/acp/images/' $cfg['http'].'acp/template/images/'
), ),
); );
} }
@ -101,9 +101,9 @@
array( array(
$cfg['http'].'acp/', $cfg['http'].'acp/',
$cfg['http'], $cfg['http'],
$cfg['http'].'template/acp/js/', $cfg['http'].'acp/template/js/',
$cfg['http'].'template/acp/css/', $cfg['http'].'acp/template/css/',
$cfg['http'].'template/acp/images/' $cfg['http'].'acp/template/images/'
), ),
); );
} }
@ -114,9 +114,9 @@
$html->set('acp', $cfg['http'].'acp/'); $html->set('acp', $cfg['http'].'acp/');
$html->set('admin', $user['id']); $html->set('admin', $user['id']);
$html->set('home', $cfg['http']); $html->set('home', $cfg['http']);
$html->set('js', $cfg['http'].'template/acp/js/'); $html->set('js', $cfg['http'].'acp/template/js/');
$html->set('css', $cfg['http'].'template/acp/css/'); $html->set('css', $cfg['http'].'acp/template/css/');
$html->set('img', $cfg['http'].'template/acp/images/'); $html->set('img', $cfg['http'].'acp/template/images/');
if(isset($html->arr['menu'])) if(isset($html->arr['menu']))
{ {