Guest User

Database IDCA Leaked by xCrotZ

a guest
Jul 11th, 2013
1,807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. <?php
  2. /**
  3. * Database configuration
  4. *
  5. * Please see the MyBB Docs for advanced
  6. * database configuration for larger installations
  7. * http://docs.mybb.com/
  8. */
  9.  
  10. $config['database']['type'] = 'mysqli';
  11. $config['database']['database'] = 'idca_idca13';
  12. $config['database']['table_prefix'] = 'idca_';
  13.  
  14. $config['database']['hostname'] = 'localhost';
  15. $config['database']['username'] = 'idca_idca13';
  16. $config['database']['password'] = 'hS4nusP42z';
  17.  
  18. /**
  19. * Admin CP directory
  20. * For security reasons, it is recommended you
  21. * rename your Admin CP directory. You then need
  22. * to adjust the value below to point to the
  23. * new directory.
  24. */
  25.  
  26. $config['admin_dir'] = 'admin';
  27.  
  28. /**
  29. * Hide all Admin CP links
  30. * If you wish to hide all Admin CP links
  31. * on the front end of the board after
  32. * renaming your Admin CP directory, set this
  33. * to 1.
  34. */
  35.  
  36. $config['hide_admin_links'] = 0;
  37.  
  38. /**
  39. * Data-cache configuration
  40. * The data cache is a temporary cache
  41. * of the most commonly accessed data in MyBB.
  42. * By default, the database is used to store this data.
  43. *
  44. * If you wish to use the file system (cache/ directory), MemCache, xcache, or eAccelerator
  45. * you can change the value below to 'files', 'memcache', 'xcache' or 'eaccelerator' from 'db'.
  46. */
  47.  
  48. $config['cache_store'] = 'db';
  49.  
  50. /**
  51. * Memcache configuration
  52. * If you are using memcache as your data-cache,
  53. * you need to configure the hostname and port
  54. * of your memcache server below.
  55. *
  56. * If not using memcache, ignore this section.
  57. */
  58.  
  59. $config['memcache']['host'] = 'localhost';
  60. $config['memcache']['port'] = 11211;
  61.  
  62. /**
  63. * Super Administrators
  64. * A comma separated list of user IDs who cannot
  65. * be edited, deleted or banned in the Admin CP.
  66. * The administrator permissions for these users
  67. * cannot be altered either.
  68. */
  69.  
  70. $config['super_admins'] = '1';
  71.  
  72. /**
  73. * Database Encoding
  74. * If you wish to set an encoding for MyBB uncomment
  75. * the line below (if it isn't already) and change
  76. * the current value to the mysql charset:
  77. * http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
  78. */
  79.  
  80. $config['database']['encoding'] = 'utf8';
  81.  
  82. /**
  83. * Automatic Log Pruning
  84. * The MyBB task system can automatically prune
  85. * various log files created by MyBB.
  86. * To enable this functionality for the logs below, set the
  87. * the number of days before each log should be pruned.
  88. * If you set the value to 0, the logs will not be pruned.
  89. */
  90.  
  91. $config['log_pruning'] = array(
  92. 'admin_logs' => 365, // Administrator logs
  93. 'mod_logs' => 365, // Moderator logs
  94. 'task_logs' => 30, // Scheduled task logs
  95. 'mail_logs' => 180, // Mail error logs
  96. 'user_mail_logs' => 180, // User mail logs
  97. 'promotion_logs' => 180 // Promotion logs
  98. );
  99.  
  100. ?>
Advertisement
Add Comment
Please, Sign In to add comment