Merge branch 'develop' into feature/new-router

This commit is contained in:
slawkens
2022-09-27 13:02:47 +02:00
124 changed files with 2122 additions and 163 deletions

51
system/compat/pages.php Normal file
View File

@@ -0,0 +1,51 @@
<?php
/**
* Compat pages (backward support for Gesior AAC)
*
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2019 MyAAC
* @link https://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
switch($page)
{
case 'createaccount':
$page = 'account/create';
break;
case 'accountmanagement':
$page = 'account/manage';
break;
case 'lostaccount':
$page = 'account/lost';
break;
case 'whoisonline':
$page = 'online';
break;
case 'latestnews':
$page = 'news';
break;
case 'tibiarules':
$page = 'rules';
break;
case 'killstatistics':
$page = 'lastkills';
break;
case 'buypoints':
$page = 'points';
break;
case 'shopsystem':
$page = 'gifts';
break;
default:
break;
}