mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00

* full support for OTHire 0.0.3 * added support for otservers that doesn't use account.name field, instead just account number will be used * (install) moved admin account creation to new step * fixed encryption detection on 0.3 * fixed bug when server_config table doesn't exist * other fixes
12 lines
293 B
PHP
12 lines
293 B
PHP
<?php
|
|
defined('MYAAC') or die('Direct access not allowed!');
|
|
|
|
require(SYSTEM . 'libs/pot/OTS.php');
|
|
$ots = POT::getInstance();
|
|
require(SYSTEM . 'database.php');
|
|
|
|
if(tableExist('accounts'))
|
|
define('USE_ACCOUNT_NAME', fieldExist('name', 'accounts'));
|
|
else
|
|
define('USE_ACCOUNT_NAME', false);
|
|
?>
|