mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Better Gesior support
This commit is contained in:
parent
6593e32d83
commit
b574a29331
@ -298,6 +298,7 @@ if($config['backward_support']) {
|
|||||||
$config['site'] = &$config;
|
$config['site'] = &$config;
|
||||||
$config['server'] = &$config['lua'];
|
$config['server'] = &$config['lua'];
|
||||||
$config['site']['shop_system'] = $config['gifts_system'];
|
$config['site']['shop_system'] = $config['gifts_system'];
|
||||||
|
$config['site']['gallery_page'] = true;
|
||||||
|
|
||||||
if(!isset($config['vdarkborder']))
|
if(!isset($config['vdarkborder']))
|
||||||
$config['vdarkborder'] = '#505050';
|
$config['vdarkborder'] = '#505050';
|
||||||
|
@ -10,6 +10,14 @@
|
|||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
switch($page)
|
switch($page)
|
||||||
{
|
{
|
||||||
|
case 'adminpanel':
|
||||||
|
header('Location: ' . ADMIN_URL);
|
||||||
|
die;
|
||||||
|
|
||||||
|
case 'archive':
|
||||||
|
$page = 'newsarchive';
|
||||||
|
break;
|
||||||
|
|
||||||
case 'whoisonline':
|
case 'whoisonline':
|
||||||
$page = 'online';
|
$page = 'online';
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user