Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. <?php
  2.  
  3. // Make sure noone bad tries to access the config
  4. if( defined( "GMDonate_Initialized" ) == false ) {
  5. die( "Hacking attempt detected and logged." );
  6. }
  7.  
  8. global $GMDConfig;
  9.  
  10. $GMDConfig = array(
  11. "Domain" => "NemesisGaming.net", // See examples below
  12. "Path" => "/donate/", // See examples below
  13. "DB_Host" => "localhost",
  14. "DB_Username" => "nemesisg_donate",
  15. "DB_Password" => "no password for u :D",
  16. "DB_Name" => "nemesisg_donate",
  17. "DB_Port" => 3306,
  18. "AdminSteamID" => "STEAM_0:1:21966414",
  19. "LicenseKey" => "45D0812471732844V", // Read below
  20. );
  21.  
  22. /* ---[ License Key Information ]---
  23. Your license key is the TransactionID of the PayPal payment when you bought this item.
  24. If you need help locating your license key, contact me using the CoderHire ticket system.
  25. WARNING: Distributing your key will result in it being suspend.
  26.  
  27. ----------------------------------------------------------------------------------
  28.  
  29. Website: mywebsite.com/donate/
  30. Domain: mywebsite.com
  31. Path: /donate/
  32.  
  33. Website: donate.mywebsite.com
  34. Domain: donate.mywebsite.com
  35. Path: /
  36.  
  37. Website: donate.mywebsite.com/auto/
  38. Domain: donate.mywebsite.com
  39. Path: /auto/
  40.  
  41. ----------------------------------------------------------------------------------
  42.  
  43. Note, the UseAPC field should remain true all the time as it dramatically decreases
  44. the about of database queries and increases performance using caching in the
  45. memory. The only reason I added a field to disable it was because some webservers
  46. may not have APC enabled so if you don't disable it, the module will not work.
  47. Below I have it automatically disable APC if it's not installed.
  48. */
  49.  
  50. $GMDConfig[ "UseAPC" ] = extension_loaded( "apc" );
  51.  
  52. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement