Advertisement
Guest User

Untitled

a guest
Jan 10th, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * @package World of Warcraft Armory
  5. * @version Release Candidate 1
  6. * @revision 428
  7. * @copyright (c) 2009-2011 Shadez
  8. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  23. **/
  24.  
  25. if(!defined('__ARMORY__')) {
  26. die('Direct access to this file not allowed!');
  27. }
  28.  
  29. ###############################################
  30. # World of Warcraft Armory configuration file #
  31. ###############################################
  32.  
  33. $ArmoryConfig = array();
  34. $ArmoryConfig['mysql'] = array();
  35. $ArmoryConfig['settings'] = array();
  36. $ArmoryConfig['multiRealm'] = array();
  37.  
  38. ##############################################################################################
  39. # MySQL Database Configuration
  40. # $ArmoryConfig['mysql']['host_*']
  41. # $ArmoryConfig['mysql']['user_*']
  42. # $ArmoryConfig['mysql']['pass_*']
  43. # $ArmoryConfig['mysql']['name_*']
  44. # $ArmoryConfig['mysql']['charset_*']
  45. # Database connection settings for different databases
  46. # Default:
  47. # host: localhost
  48. # user: root
  49. # pass:
  50. # charset: UTF8
  51. ##############################################################################################
  52.  
  53. $ArmoryConfig['mysql']['host_armory'] = 'localhost';
  54. $ArmoryConfig['mysql']['user_armory'] = '*****';
  55. $ArmoryConfig['mysql']['pass_armory'] = '******';
  56. $ArmoryConfig['mysql']['name_armory'] = 'wowarmory';
  57. $ArmoryConfig['mysql']['charset_armory'] = 'UTF8';
  58.  
  59. $ArmoryConfig['mysql']['host_realmd'] = 'localhost';
  60. $ArmoryConfig['mysql']['user_realmd'] = '******';
  61. $ArmoryConfig['mysql']['pass_realmd'] = '******';
  62. $ArmoryConfig['mysql']['name_realmd'] = 'realmd';
  63. $ArmoryConfig['mysql']['charset_realmd'] = 'UTF8';
  64.  
  65. ##############################################################################################
  66. # Armory configuration
  67. #
  68. # useNews
  69. # News module enabled/disabled
  70. # Default: false (Disabled)
  71. # true (Enabled)
  72. #
  73. # defaultBGName
  74. # Battlegroup name (currently doesn't do anything, just cosmetic)
  75. # Default: Massive Network
  76. #
  77. # useCache
  78. # Cache module enabled/disabled
  79. # Default: false (Disabled)
  80. # true (Enabled)
  81. #
  82. # cache_lifetime
  83. # Rebuild cache delay (in seconds)
  84. # Default: 86400 (1 day)
  85. #
  86. # db_prefix
  87. # Armory database prefix (without "_"!)
  88. # Default: armory
  89. #
  90. # minlevel
  91. # Players with level below this value wouldn't be displayed in Armory
  92. # Default: 10 (Recommended)
  93. #
  94. # minGmLevelToShow
  95. # Characters with this GM level and below it will be displayed in Armory
  96. # This example is for MaNGOS' access levels, Trinity Core has more than 3 GM lvls,
  97. # so you may need to set this value by more than 3.
  98. # Default: 3 (Everyone)
  99. # 2 (Everyone except Administrators will be displayed in Armory)
  100. # 1 (Everyone except Administrators and GMs will be displayed in Armory)
  101. # 0 (Only players will be displayed in Armory)
  102. #
  103. # defaultLocale
  104. # Site default locale
  105. # Default: en_gb (UK English)
  106. # en_us (US English)
  107. # es_es (Spanish)
  108. # de_de (German)
  109. # fr_fr (French)
  110. # ru_ru (Russian)
  111. #
  112. # maintenance
  113. # Disable site and redirect users to info page
  114. # Default: false (Site is not disabled)
  115. # true (Site is disabled)
  116. #
  117. # useDebug
  118. # Debug log module enabled/disabled
  119. # Default: false (Disabled)
  120. # true (Enabled)
  121. #
  122. # logLevel
  123. # Logging level
  124. # Default: 2 (Full debug)
  125. # 1 (Errors only)
  126. #
  127. # configVersion
  128. # Configuration file version. This option must not be changed (only by commits)!
  129. # Default: DDMMYYYYNN (day, month, year, changes count)
  130. #
  131. # checkVersionType
  132. # Armory errors reporting style (wrong database version, config version mismatch, etc.)
  133. # Default: show (Display all errors and exit script. Recommended)
  134. # log (Write errors to log (if enabled) and continue script work)
  135. ##############################################################################################
  136.  
  137. $ArmoryConfig['settings']['useNews'] = false;
  138. $ArmoryConfig['settings']['defaultBGName'] = '********';
  139. $ArmoryConfig['settings']['useCache'] = false;
  140. $ArmoryConfig['settings']['cache_lifetime'] = 86400;
  141. $ArmoryConfig['settings']['db_prefix'] = 'armory';
  142. $ArmoryConfig['settings']['minlevel'] = 10;
  143. $ArmoryConfig['settings']['minGmLevelToShow'] = 3;
  144. $ArmoryConfig['settings']['defaultLocale'] = 'fr_fr';
  145. $ArmoryConfig['settings']['maintenance'] = false;
  146. $ArmoryConfig['settings']['useDebug'] = true;
  147. $ArmoryConfig['settings']['logLevel'] = 2;
  148. $ArmoryConfig['settings']['configVersion'] = '2812201001';
  149. $ArmoryConfig['settings']['checkVersionType'] = 'log';
  150.  
  151. ##############################################################################################
  152. # Multirealms configuration
  153. #
  154. # id
  155. # Realm id. Must be unique. Also, this value must be the same with X ($ArmoryConfig['multiRealm'][X]).
  156. #
  157. # name
  158. # Realm name. Must be unique.
  159. #
  160. # type
  161. # Server type ('mangos' or 'trinity').
  162. #
  163. # host_*
  164. # MySQL server host for characters/world database.
  165. # Default: localhost
  166. #
  167. # user_*
  168. # MySQL username for characters/world database.
  169. # Default: root
  170. #
  171. # pass_*
  172. # Password for MySQL user.
  173. #
  174. # name_*
  175. # Database name for characters/world database.
  176. #
  177. # charset_*
  178. # MySQL database charset.
  179. # Default: UTF8 (Recommended)
  180. #
  181. ##############################################################################################
  182.  
  183. $ArmoryConfig['multiRealm'][1]['id'] = 2;
  184. $ArmoryConfig['multiRealm'][1]['name'] = 'Le royaume';
  185. $ArmoryConfig['multiRealm'][1]['type'] = 'trinity';
  186. $ArmoryConfig['multiRealm'][1]['host_characters'] = 'localhost';
  187. $ArmoryConfig['multiRealm'][1]['user_characters'] = '****';
  188. $ArmoryConfig['multiRealm'][1]['pass_characters'] = '*****';
  189. $ArmoryConfig['multiRealm'][1]['name_characters'] = '*****';
  190. $ArmoryConfig['multiRealm'][1]['charset_characters'] = 'UTF8';
  191. $ArmoryConfig['multiRealm'][1]['host_world'] = 'localhost';
  192. $ArmoryConfig['multiRealm'][1]['user_world'] = '****';
  193. $ArmoryConfig['multiRealm'][1]['pass_world'] = '****';
  194. $ArmoryConfig['multiRealm'][1]['name_world'] = '332';
  195. $ArmoryConfig['multiRealm'][1]['charset_world'] = 'UTF8';
  196. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement