Advertisement
Guest User

Untitled

a guest
Mar 21st, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.58 KB | None | 0 0
  1. <?php
  2. /*======================================================================*\
  3. || #################################################################### ||
  4. || # vBulletin Core Configuration # ||
  5. || # ---------------------------------------------------------------- # ||
  6. || # All PHP code in this file is 2000-2012 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 MySQL, you will |
  17. | need to email your webhost because we cannot tell you the correct |
  18. | values for the variables in this file. |
  19. | |
  20. | When making changes to the file, the edit should always be to the |
  21. | right of the = sign between the single quotes |
  22. | Default: $config['admincpdir'] = 'admincp'; |
  23. | Example: $config['admincpdir'] = 'myadmin'; GOOD! |
  24. | Example: $config['myadmin'] = 'admincp'; BAD! |
  25. \*----------------------------------------------------------------------*/
  26.  
  27.  
  28. // ****** DATABASE TYPE ******
  29. // This is the type of the database server on which your vBulletin database
  30. // will be located. Valid options are mysql and mysqli, for slave support add
  31. // _slave to the end of the database class.
  32. // Try to use mysqli if you are using PHP 5 and MySQL 4.1+
  33. // WARNING: As of PHP 5.5.0 mysql library support is depricated. So if you are using PHP >= 5.5.0 use mysqli
  34. $config['Database']['dbtype'] = 'mysqli';
  35.  
  36. // ****** DATABASE NAME ******
  37. // This is the name of the database where your vBulletin will be located.
  38. // This must be created by your webhost.
  39. $config['Database']['dbname'] = 'forum';
  40.  
  41. // ****** TABLE PREFIX ******
  42. // Prefix that your vBulletin tables have in the database.
  43. $config['Database']['tableprefix'] = '';
  44.  
  45. // ****** TECHNICAL EMAIL ADDRESS ******
  46. // If any database errors occur, they will be emailed to the address specified here.
  47. // Leave this blank to not send any emails when there is a database error.
  48. $config['Database']['technicalemail'] = 'emailhasbeenremove :)';
  49.  
  50.  
  51. // ****** MASTER DATABASE SERVER NAME AND PORT ******
  52. // This is the hostname or IP address and port of the database server.
  53. // If you are unsure of what to put here, leave the default values.
  54. //
  55. // Note: If you are using IIS 7+ and MySQL is on the same machine, you
  56. // need to use 127.0.0.1 instead of localhost
  57. $config['MasterServer']['servername'] = 'localhost';
  58. $config['MasterServer']['port'] = 3306;
  59.  
  60. // ****** MASTER DATABASE USERNAME & PASSWORD ******
  61. // This is the username and password you use to access MySQL.
  62. // These must be obtained through your webhost.
  63. $config['MasterServer']['username'] = 'usernamehasbeenremoved :)';
  64. $config['MasterServer']['password'] = 'passwordhasbeenremoved :)';
  65.  
  66. // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
  67. // This option allows you to turn persistent connections to MySQL on or off.
  68. // The difference in performance is negligible for all but the largest boards.
  69. // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
  70. $config['MasterServer']['usepconnect'] = 0;
  71.  
  72.  
  73.  
  74. // ****** SLAVE DATABASE CONFIGURATION ******
  75. // If you have multiple database backends, this is the information for your slave
  76. // server. If you are not 100% sure you need to fill in this information,
  77. // do not change any of the values here.
  78. $config['SlaveServer']['servername'] = '';
  79. $config['SlaveServer']['port'] = 3306;
  80. $config['SlaveServer']['username'] = '';
  81. $config['SlaveServer']['password'] = '';
  82. $config['SlaveServer']['usepconnect'] = 0;
  83.  
  84.  
  85.  
  86. // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
  87. // This setting allows you to change the name of the folders that the admin and
  88. // moderator control panels reside in. You may wish to do this for security purposes.
  89. // Please note that if you change the name of the directory here, you will still need
  90. // to manually change the name of the directory on the server.
  91. $config['Misc']['admincpdir'] = 'admincp';
  92. $config['Misc']['modcpdir'] = 'modcp';
  93.  
  94. // Prefix that all vBulletin cookies will have
  95. // Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
  96. $config['Misc']['cookieprefix'] = 'bb';
  97.  
  98. // ******** FULL PATH TO FORUMS DIRECTORY ******
  99. // On a few systems it may be necessary to input the full path to your forums directory
  100. // for vBulletin to function normally. You can ignore this setting unless vBulletin
  101. // tells you to fill this in. Do not include a trailing slash!
  102. // Example Unix:
  103. // $config['Misc']['forumpath'] = '/home/users/public_html/forums';
  104. // Example Win32:
  105. // $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
  106. $config['Misc']['forumpath'] = '';
  107.  
  108. // ******** FRONTEND (SITE) URL ******
  109. // On a few systems it may be necessary to input the base url.
  110. // This should be the same setting as $config['baseurl'] in the frontend config file
  111. // You do not need to fill this in unless instructed by vBulletin Support.
  112. // Do not include a trailing slash.
  113. // Example: $config['Misc']['baseurl'] = 'http://www.mysite.comt/forums';
  114. $config['Misc']['baseurl'] = 'http://198.211.123.144';
  115.  
  116. // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
  117. // The users specified here will be allowed to view the admin log in the control panel.
  118. // Users must be specified by *ID number* here. To obtain a user's ID number,
  119. // view their profile via the control panel. If this is a new installation, leave
  120. // the first user created will have a user ID of 1. Seperate each userid with a comma.
  121. $config['SpecialUsers']['canviewadminlog'] = '1';
  122.  
  123. // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
  124. // The users specified here will be allowed to remove ("prune") entries from the admin
  125. // log. See the above entry for more information on the format.
  126. $config['SpecialUsers']['canpruneadminlog'] = '1';
  127.  
  128. // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
  129. // The users specified here will be allowed to run queries from the control panel.
  130. // See the above entries for more information on the format.
  131. // Please note that the ability to run queries is quite powerful. You may wish
  132. // to remove all user IDs from this list for security reasons.
  133. $config['SpecialUsers']['canrunqueries'] = '';
  134.  
  135. // ****** UNDELETABLE / UNALTERABLE USERS ******
  136. // The users specified here will not be deletable or alterable from the control panel by any users.
  137. // To specify more than one user, separate userids with commas.
  138. $config['SpecialUsers']['undeletableusers'] = '';
  139.  
  140. // ****** SUPER ADMINISTRATORS ******
  141. // The userids specified below will have permission to access all areas of vBulletin 5.
  142. // Note that this is different to vB3 & vB4 where they only had extra permissions in the
  143. // Admin Control Panel. Be very careful who you grant this super power to.
  144. // The name of this setting has changed from superadministrator to superadmins.
  145. // This is to avoid the accidental granting of this permission when using older config files.
  146. $config['SpecialUsers']['superadmins'] = '1';
  147.  
  148. // ****** CACHE CONFIGURATION *****
  149. // Here you can configure different methods for caching items.
  150. // The following are the cacheing classes that can be used.
  151. // vB_Cache_Db - This setting stores the data in the database
  152. // vB_Cache_APC - This setting stores the data in APC
  153. // vB_Cache_Memcached - This stores the data in memcache
  154. // vB_Cache_Memory - This setting uses php's memory while a page is being generated.
  155. // Each cache area can use its own cache type.
  156. $config['Cache']['class'][0] = 'vB_Cache_Db'; //regular cache
  157. $config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
  158. $config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
  159.  
  160. //Cache options are
  161. //vB_Cache_Memory - fastest but doesn't survive a page load.
  162. //vB_Cache_Db- significant speed improvement and available to everyone.
  163. //vB_Cache_Filesystem- good performance, reduces traffic and load on db server. Not available to everyone- your web server must be able to write to the file system.
  164. //vB_Cache_Memcached excellent performance but usually only available to dedicated or virtual hosted sites.
  165. //vB_Cache_APC excellent performance but only available to those with APC installed.
  166.  
  167.  
  168. // ******** FILESYSTEM CACHE CONFIGURATION ******
  169. //If you use filesystem cache you MUST uncomment the line below.
  170. //set the path to somewher writeable by the web server process. This location must already exist. Please put
  171. // this somewhere outside the document root. Otherwise you have just created a serious security issue.
  172. //Don't include the final '/'
  173.  
  174. //$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
  175.  
  176.  
  177. // ****** DATASTORE CACHE CONFIGURATION *****
  178. // Here you can configure different methods for caching datastore items.
  179. // You may need to clear this cache after installing/upgrading. You can do this either
  180. // in the control panel (Maintenance) or by restarting the web server.
  181. // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
  182. // vB_Datastore_APC - to use APC
  183. // vB_Datastore_XCache - to use XCache
  184. // vB_Datastore_Memcached - to use a Memcache server, more configuration below
  185. // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
  186. //if you use Filecache you can accept the default location, or better
  187. // to uncomment the next line and set a location
  188. // $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
  189. // or if you have set $config['Cache']['fileCachePath' above you can do nothing and
  190. // it will use that location.
  191.  
  192. // ******** DATASTORE PREFIX ******
  193. // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
  194. // than one set of forums installed on your host, you *may* need to use a prefix
  195. // so that they do not try to use the same variable within the cache.
  196. // This works in a similar manner to the database table prefix.
  197. // $config['Datastore']['prefix'] = '';
  198.  
  199. // It is also necessary to specify the hostname or IP address and the port the server is listening on
  200. /*
  201. $config['Datastore']['class'] = 'vB_Datastore_Memcached';
  202. $i = 0;
  203. // First Server
  204. $i++;
  205. $config['Misc']['memcacheserver'][$i] = '127.0.0.1';
  206. $config['Misc']['memcacheport'][$i] = 11211;
  207. $config['Misc']['memcachepersistent'][$i] = true;
  208. $config['Misc']['memcacheweight'][$i] = 1;
  209. $config['Misc']['memcachetimeout'][$i] = 1;
  210. $config['Misc']['memcacheretry_interval'][$i] = 15;
  211. */
  212. //If you are using Memcache you should can set a prefix. This is needed only if the memcache server is shared. If dedicated you don't need it.
  213. $config['Cache']['memcacheprefix'] = '';
  214. // ****** The following options are only needed in special cases ******
  215.  
  216. // ****** MySQLI OPTIONS *****
  217. // When using MySQL 4.1+, MySQLi should be used to connect to the database.
  218. // If you need to set the default connection charset because your database
  219. // is using a charset other than latin1, you can set the charset here.
  220. // If you don't set the charset to be the same as your database, you
  221. // may receive collation errors. Ignore this setting unless you
  222. // are sure you need to use it.
  223. // $config['Mysqli']['charset'] = 'utf8';
  224.  
  225. // Optionally, PHP can be instructed to set connection parameters by
  226. // reading from the file named in 'ini_file'. Please use a full path to
  227. // the file.
  228. // Example:
  229. // $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini';
  230. $config['Mysqli']['ini_file'] = '';
  231.  
  232. // ******** IMAGE PROCESSING OPTIONS ********
  233. // Images that exceed either dimension below will not be resized by vBulletin.
  234. // If you need to resize larger images, alter these settings.
  235. $config['Misc']['maxwidth'] = 2592;
  236. $config['Misc']['maxheight'] = 1944;
  237.  
  238. // ******** SPECIAL SETTINGS ********
  239. // The following are settings/permissions that are not normally used but
  240. // are here for reference. Please be careful using them. Do not enable or
  241. // uncomment without understanding what they do first.
  242.  
  243. // This allows you to disable modifications and extensions to the software.
  244. // If your site is not functioning well after installing or using a third
  245. // party modification, please enable this.
  246. // define("DISABLE_HOOKS", true);
  247.  
  248. // This allows you to shut down all mail that is being sent by vBulletin.
  249. // This is useful for test environments
  250. // define("DISABLE_MAIL", true);
  251.  
  252. // This allows you to enter debug mode, which is for support or development
  253. // to help understand how pages are built. This should NEVER be enabled in
  254. // a live environment.
  255. // $config['Misc']['debug'] = true;
  256.  
  257. // This enables debug logging. The debuglogger is controlled from the
  258. // file core/includes/xml/logger.xml. This is safe to run on a live
  259. // environment, assuming the log location is secure, however it may
  260. // impact peformance to have the logging on.
  261. // $config['Misc']['debuglogging'] = true;
  262.  
  263.  
  264. /*======================================================================*\
  265. || ####################################################################
  266. || # Downloaded: 00:00, Thur Oct 15th 2015
  267. || # CVS: $RCSfile$ - $Revision: 71357 $
  268. || ####################################################################
  269. \*======================================================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement