Advertisement
Guest User

Untitled

a guest
Aug 5th, 2016
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. <?php
  2.  
  3. // Enter your API key from sdonate.com
  4. $sdonateapi = 'DRTT8ZB5RNBH6M2IDPYV';
  5.  
  6. // Enter your steam API key from https://steamcommunity.com/dev/apikey
  7. $steamapi = 'A7C11BF2196E64D25D20860DA618C8D5';
  8.  
  9. // The host of your MySQL database. If it's hosted on the same server as your website just leave it as 'localhost'
  10. $dbhost = 'sql.mtxserv.fr';
  11.  
  12. // The name of your MySQL database
  13. $dbname = '96959_sql';
  14.  
  15. // The username for your MySQL account
  16. $dbusername = 'w_96959';
  17.  
  18. // The password for your MySQL account
  19. $dbpassword = 'nicolas80130';
  20.  
  21. // The currency code of the main currency you wish to use.
  22. $currencycode = 'EUR';
  23.  
  24.  
  25.  
  26.  
  27. // -------------------------------------------------------------------------------------------------------------------------------------------------------- //
  28. // THE SETTINGS BELOW ARE OPTIONAL AND ONLY REQUIRED IF YOU WANT TO ENABLE GOOGLE RECAPTCHA, LEAVE BOTH EMPTY IF YOU DO NOT WANT TO ENABLE GOOGLE RECAPTCHA
  29. // -------------------------------------------------------------------------------------------------------------------------------------------------------- //
  30.  
  31. // Enter your Google reCAPTCHA site key from https://www.google.com/recaptcha/admin
  32. $recaptchasitekey = '';
  33.  
  34. // Enter your Google reCAPTCHA secret key from https://www.google.com/recaptcha/admin
  35. $recaptchasecretkey = '';
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. // ---------------------------- DO NOT EDIT ANYTHING BELOW HERE ---------------------------- //
  45.  
  46. $usingHTTPS = false;
  47.  
  48. if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
  49. $usingHTTPS = true;
  50. }
  51. elseif (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' || !empty($_SERVER['HTTP_X_FORWARDED_SSL']) && $_SERVER['HTTP_X_FORWARDED_SSL'] == 'on'){
  52. $usingHTTPS = true;
  53. }
  54.  
  55. $protocol = $usingHTTPS ? 'https' : 'http';
  56.  
  57. $dir = $protocol . '://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
  58. $pos = strpos($dir, '.php');
  59. $slashPos = strrpos(substr($dir, 0, $pos), '/');
  60. $dir = substr($dir, 0, $slashPos) . '/';
  61.  
  62. require_once('currencycodes.php');
  63. require_once('base_funcs.php');
  64.  
  65. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement