-
Notifications
You must be signed in to change notification settings - Fork 1
/
connection.php
15 lines (14 loc) · 1.61 KB
/
connection.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/* Database connection values */
require '../config.php';
define("SERVER", "localhost");
define("DBUSER", $user);
define("DBPASSWORD", $pass);
define("DEFDB", $dbname);
define('CHA_VERSIONS', "'1.9.8','1.9.10.2','1.10.0','1.10.2','1.10.4','1.10.6','1.10.8','1.11.0','1.11.2','1.11.4','1.11.6','1.11.8','1.11.10'");
// special temporary fix to avoid showing users of version 1.10.0
define('CHA_VERSIONS_NO_USERS', "'1.9.8','1.9.10.2','1.10.0','1.10.2','1.10.4','1.10.6','1.10.8','1.11.0','1.11.2','1.11.4','1.11.6','1.11.8','1.11.10'");
//define('CHA_VERSIONS', "'1.8.5','1.8.6','1.8.7','1.8.8','1.9.0','1.9.2','1.9.4','1.9.6','2.0','2.1','3.0','3.1'"); //only shows about 2200 users in total and definitely will confuse people even more - YW 2013/03/09
// ranges of users per portal
define('CHA_USERS_RANGES', '10-65,66-150,151-300,301-500,501-1000,1001-2500,2501-5000,5001-25000,25001-100000,100001-2000000');
define('CHA_LANGUAGES', "'arabic', 'asturian', 'basque', 'bengali', 'bosnian', 'brazilian', 'bulgarian', 'catalan', 'croatian', 'czech', 'danish', 'dari', 'dutch', 'english', 'esperanto', 'faroese', 'finnish', 'french', 'friulian', 'galician', 'georgian', 'german', 'greek', 'hebrew', 'hindi', 'hungarian', 'indonesian', 'italian', 'japanese', 'korean', 'latvian', 'lithuanian', 'macedonian', 'malay', 'norwegian', 'occitan', 'pashto', 'persian', 'polish', 'portuguese', 'quechua_cusco', 'romanian', 'russian', 'serbian', 'simpl_chinese', 'slovak', 'slovenian', 'somali', 'spanish', 'spanish_latin', 'swahili', 'swedish', 'tagalog', 'thai', 'tibetan', 'trad_chinese', 'turkish', 'ukrainian', 'vietnamese', 'xhosa', 'yoruba'");