mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 02:14:53 +02:00
Remade Highscores: Added multi-page support, built-in score type navigation, using GET instead of POST.
Tested on TFS 1.0 and 0.3/4, but should work on 0.2 as well.
This commit is contained in:
15
config.php
15
config.php
@@ -4,7 +4,7 @@
|
||||
// TFS 0.3 = TFS_03 (If ur using 0.3.6, set $config['salt'] to false)!
|
||||
// TFS 0.4 = TFS_03
|
||||
// TFS 1.0 = TFS_10 (Under developement)
|
||||
$config['TFSVersion'] = 'TFS_10';
|
||||
$config['TFSVersion'] = 'TFS_04';
|
||||
|
||||
$config['site_title'] = 'Znote AAC';
|
||||
$config['site_title_context'] = 'Because open communities are good communities. :3';
|
||||
@@ -14,13 +14,13 @@
|
||||
// ------------------------ \\
|
||||
|
||||
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
|
||||
$config['sqlUser'] = 'dev';
|
||||
$config['sqlUser'] = 'gremlee';
|
||||
|
||||
// phpmyadmin password for OT server:
|
||||
$config['sqlPassword'] = 'dev';
|
||||
$config['sqlPassword'] = 'gremlee';
|
||||
|
||||
// The database name to connect to. (This is usually same as username).
|
||||
$config['sqlDatabase'] = 'dev';
|
||||
$config['sqlDatabase'] = 'gremlee';
|
||||
|
||||
// Hostname is usually localhost or 127.0.0.1.
|
||||
$config['sqlHost'] = 'localhost';
|
||||
@@ -140,6 +140,13 @@
|
||||
// WEBSITE STUFF \\
|
||||
// -------------- \\
|
||||
|
||||
// Highscore configuration
|
||||
$config['highscore'] = array(
|
||||
'rows' => 100,
|
||||
'rowsPerPage' => 20,
|
||||
'ignoreGroupId' => 2, // Ignore group id higher than this (staff)
|
||||
);
|
||||
|
||||
// ONLY FOR TFS 0.2 (TFS 0.3/4 users don't need to care about this, as its fully loaded from db)
|
||||
$config['house'] = array(
|
||||
'house_file' => 'C:\test\Mystic Spirit_0.2.5\data\world\forgotten-house.xml',
|
||||
|
Reference in New Issue
Block a user