some small update

* moved site_closed to database, now you can close your site through
admin panel
* added option to admin panel: clear cache
* added experiencetable_rows configurable
* optimized OTS_Account->getGroupId(), now its using like 20 queries
less
* optimized OTS_Player->load($id) function, should perform faster
loading
* fixed highscores displaying of group outfits
This commit is contained in:
slawkens1
2017-05-19 02:30:39 +02:00
parent 6658eb5f20
commit 1310a49729
17 changed files with 265 additions and 93 deletions

View File

@@ -44,6 +44,11 @@ define('FLAG_CONTENT_COMMANDS', 64);
define('FLAG_CONTENT_SPELLS', 128);
define('FLAG_CONTENT_MONSTERS', 256);
// news
define('NEWS', 1);
define('TICKET', 2);
define('ARTICLE', 3);
// directories
define('BASE', dirname(__FILE__) . '/');
define('ADMIN', BASE . 'admin/');