Add compat Gesior classes

To allow more custom pages be used with myaac
This commit is contained in:
slawkens
2022-09-12 14:16:36 +02:00
parent ddb60fa1e0
commit 0a2cd69a4b
5 changed files with 20 additions and 3 deletions

15
system/compat/classes.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
/**
* Compat classes (backward support for Gesior AAC)
*
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2022 MyAAC
* @link https://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
class Player extends OTS_Player {}
class Guild extends OTS_Guild {}
class GuildRank extends OTS_GuildRank {}
class House extends OTS_House {}

View File

@@ -1246,4 +1246,4 @@ function getCustomPage($page, &$success)
// validator functions
require_once LIBS . 'validator.php';
require_once SYSTEM . 'compat.php';
require_once SYSTEM . 'compat/base.php';