Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.39 KB | None | 0 0
  1. <?php
  2. /*======================================================================*\
  3. || #################################################################### ||
  4. || # vBulletin 4.1.4
  5. || # ---------------------------------------------------------------- # ||
  6. || # All PHP code in this file is ©2000-2011 vBulletin Solutions Inc. # ||
  7. || # This file may not be redistributed in whole or significant part. # ||
  8. || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
  9. || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
  10. || #################################################################### ||
  11. \*======================================================================*/
  12.  
  13. /*-------------------------------------------------------*\
  14. | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
  15. +---------------------------------------------------------+
  16. | If you get any errors while attempting to connect to |
  17. | MySQL, you will need to email your webhost because we |
  18. | cannot tell you the correct values for the variables |
  19. | in this file. |
  20. \*-------------------------------------------------------*/
  21.  
  22. // ****** DATABASE TYPE ******
  23. // This is the type of the database server on which your vBulletin database will be located.
  24. // Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
  25. // for slave options just append _slave to your preferred database type.
  26. $config['Database']['dbtype'] = 'mysql';
  27.  
  28. // ****** DATABASE NAME ******
  29. // This is the name of the database where your vBulletin will be located.
  30. // This must be created by your webhost.
  31. $config['Database']['dbname'] = 'dagobertx_com';
  32.  
  33. // ****** TABLE PREFIX ******
  34. // Prefix that your vBulletin tables have in the database.
  35. $config['Database']['tableprefix'] = '';
  36.  
  37. // ****** TECHNICAL EMAIL ADDRESS ******
  38. // If any database errors occur, they will be emailed to the address specified here.
  39. // Leave this blank to not send any emails when there is a database error.
  40. $config['Database']['technicalemail'] = 'dbmaster@example.com';
  41.  
  42. // ****** FORCE EMPTY SQL MODE ******
  43. // New versions of MySQL (4.1+) have introduced some behaviors that are
  44. // incompatible with vBulletin. Setting this value to "true" disables those
  45. // behaviors. You only need to modify this value if vBulletin recommends it.
  46. $config['Database']['force_sql_mode'] = false;
  47.  
  48.  
  49.  
  50. // ****** MASTER DATABASE SERVER NAME AND PORT ******
  51. // This is the hostname or IP address and port of the database server.
  52. // If you are unsure of what to put here, leave the default values.
  53. //
  54. // Note: If you are using IIS 7+ and MySQL is on the same machine, you
  55. // need to use 127.0.0.1 instead of localhost
  56. $config['MasterServer']['servername'] = 'dagobertx.com.mysql';
  57. $config['MasterServer']['port'] = 3306;
  58.  
  59. // ****** MASTER DATABASE USERNAME & PASSWORD ******
  60. // This is the username and password you use to access MySQL.
  61. // These must be obtained through your webhost.
  62. $config['MasterServer']['username'] = 'dagobertx_com';
  63. $config['MasterServer']['password'] = 'ZENSIERT';
  64.  
  65. // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
  66. // This option allows you to turn persistent connections to MySQL on or off.
  67. // The difference in performance is negligible for all but the largest boards.
  68. // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
  69. $config['MasterServer']['usepconnect'] = 0;
  70.  
  71.  
  72.  
  73. // ****** SLAVE DATABASE CONFIGURATION ******
  74. // If you have multiple database backends, this is the information for your slave
  75. // server. If you are not 100% sure you need to fill in this information,
  76. // do not change any of the values here.
  77. $config['SlaveServer']['servername'] = '';
  78. $config['SlaveServer']['port'] = 3306;
  79. $config['SlaveServer']['username'] = '';
  80. $config['SlaveServer']['password'] = '';
  81. $config['SlaveServer']['usepconnect'] = 0;
  82.  
  83.  
  84.  
  85. // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
  86. // This setting allows you to change the name of the folders that the admin and
  87. // moderator control panels reside in. You may wish to do this for security purposes.
  88. // Please note that if you change the name of the directory here, you will still need
  89. // to manually change the name of the directory on the server.
  90. $config['Misc']['admincpdir'] = 'admincp';
  91. $config['Misc']['modcpdir'] = 'modcp';
  92.  
  93. // Prefix that all vBulletin cookies will have
  94. // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
  95. $config['Misc']['cookieprefix'] = 'bb';
  96.  
  97. // ******** FULL PATH TO FORUMS DIRECTORY ******
  98. // On a few systems it may be necessary to input the full path to your forums directory
  99. // for vBulletin to function normally. You can ignore this setting unless vBulletin
  100. // tells you to fill this in. Do not include a trailing slash!
  101. // Example Unix:
  102. // $config['Misc']['forumpath'] = '/home/users/public_html/forums';
  103. // Example Win32:
  104. // $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
  105. $config['Misc']['forumpath'] = '';
  106.  
  107.  
  108.  
  109. // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
  110. // The users specified here will be allowed to view the admin log in the control panel.
  111. // Users must be specified by *ID number* here. To obtain a user's ID number,
  112. // view their profile via the control panel. If this is a new installation, leave
  113. // the first user created will have a user ID of 1. Seperate each userid with a comma.
  114. $config['SpecialUsers']['canviewadminlog'] = '1';
  115.  
  116. // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
  117. // The users specified here will be allowed to remove ("prune") entries from the admin
  118. // log. See the above entry for more information on the format.
  119. $config['SpecialUsers']['canpruneadminlog'] = '1';
  120.  
  121. // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
  122. // The users specified here will be allowed to run queries from the control panel.
  123. // See the above entries for more information on the format.
  124. // Please note that the ability to run queries is quite powerful. You may wish
  125. // to remove all user IDs from this list for security reasons.
  126. $config['SpecialUsers']['canrunqueries'] = '';
  127.  
  128. // ****** UNDELETABLE / UNALTERABLE USERS ******
  129. // The users specified here will not be deletable or alterable from the control panel by any users.
  130. // To specify more than one user, separate userids with commas.
  131. $config['SpecialUsers']['undeletableusers'] = '';
  132.  
  133. // ****** SUPER ADMINISTRATORS ******
  134. // The users specified below will have permission to access the administrator permissions
  135. // page, which controls the permissions of other administrators
  136. $config['SpecialUsers']['superadministrators'] = '1';
  137.  
  138. // ****** DATASTORE CACHE CONFIGURATION *****
  139. // Here you can configure different methods for caching datastore items.
  140. // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
  141. // vB_Datastore_APC - to use APC
  142. // vB_Datastore_XCache - to use XCache
  143. // vB_Datastore_Memcached - to use a Memcache server, more configuration below
  144. // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
  145.  
  146. // ******** DATASTORE PREFIX ******
  147. // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
  148. // than one set of forums installed on your host, you *may* need to use a prefix
  149. // so that they do not try to use the same variable within the cache.
  150. // This works in a similar manner to the database table prefix.
  151. // $config['Datastore']['prefix'] = '';
  152.  
  153. // It is also necessary to specify the hostname or IP address and the port the server is listening on
  154. /*
  155. $config['Datastore']['class'] = 'vB_Datastore_Memcached';
  156. $i = 0;
  157. // First Server
  158. $i++;
  159. $config['Misc']['memcacheserver'][$i] = '127.0.0.1';
  160. $config['Misc']['memcacheport'][$i] = 11211;
  161. $config['Misc']['memcachepersistent'][$i] = true;
  162. $config['Misc']['memcacheweight'][$i] = 1;
  163. $config['Misc']['memcachetimeout'][$i] = 1;
  164. $config['Misc']['memcacheretry_interval'][$i] = 15;
  165. */
  166.  
  167. // ****** The following options are only needed in special cases ******
  168.  
  169. // ****** MySQLI OPTIONS *****
  170. // When using MySQL 4.1+, MySQLi should be used to connect to the database.
  171. // If you need to set the default connection charset because your database
  172. // is using a charset other than latin1, you can set the charset here.
  173. // If you don't set the charset to be the same as your database, you
  174. // may receive collation errors. Ignore this setting unless you
  175. // are sure you need to use it.
  176. // $config['Mysqli']['charset'] = 'utf8';
  177.  
  178. // Optionally, PHP can be instructed to set connection parameters by reading from the
  179. // file named in 'ini_file'. Please use a full path to the file.
  180. // Example:
  181. // $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
  182. $config['Mysqli']['ini_file'] = '';
  183.  
  184. // Image Processing Options
  185. // Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
  186. $config['Misc']['maxwidth'] = 2592;
  187. $config['Misc']['maxheight'] = 1944;
  188.  
  189. /*======================================================================*\
  190. || ####################################################################
  191. || #
  192. || # CVS: $RCSfile$ - $Revision: 39199 $
  193. || ####################################################################
  194. \*======================================================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement