Better Gesior support

This commit is contained in:
slawkens 2023-06-22 22:15:18 +02:00
parent 6593e32d83
commit b574a29331
2 changed files with 9 additions and 0 deletions

View File

@ -298,6 +298,7 @@ if($config['backward_support']) {
$config['site'] = &$config;
$config['server'] = &$config['lua'];
$config['site']['shop_system'] = $config['gifts_system'];
$config['site']['gallery_page'] = true;
if(!isset($config['vdarkborder']))
$config['vdarkborder'] = '#505050';

View File

@ -10,6 +10,14 @@
defined('MYAAC') or die('Direct access not allowed!');
switch($page)
{
case 'adminpanel':
header('Location: ' . ADMIN_URL);
die;
case 'archive':
$page = 'newsarchive';
break;
case 'whoisonline':
$page = 'online';
break;