Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Enter your API key from sdonate.com
- $sdonateapi = 'DRTT8ZB5RNBH6M2IDPYV';
- // Enter your steam API key from https://steamcommunity.com/dev/apikey
- $steamapi = 'A7C11BF2196E64D25D20860DA618C8D5';
- // The host of your MySQL database. If it's hosted on the same server as your website just leave it as 'localhost'
- $dbhost = 'sql.mtxserv.fr';
- // The name of your MySQL database
- $dbname = '96959_sql';
- // The username for your MySQL account
- $dbusername = 'w_96959';
- // The password for your MySQL account
- $dbpassword = 'nicolas80130';
- // The currency code of the main currency you wish to use.
- $currencycode = 'EUR';
- // -------------------------------------------------------------------------------------------------------------------------------------------------------- //
- // 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
- // -------------------------------------------------------------------------------------------------------------------------------------------------------- //
- // Enter your Google reCAPTCHA site key from https://www.google.com/recaptcha/admin
- $recaptchasitekey = '';
- // Enter your Google reCAPTCHA secret key from https://www.google.com/recaptcha/admin
- $recaptchasecretkey = '';
- // ---------------------------- DO NOT EDIT ANYTHING BELOW HERE ---------------------------- //
- $usingHTTPS = false;
- if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
- $usingHTTPS = true;
- }
- 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'){
- $usingHTTPS = true;
- }
- $protocol = $usingHTTPS ? 'https' : 'http';
- $dir = $protocol . '://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
- $pos = strpos($dir, '.php');
- $slashPos = strrpos(substr($dir, 0, $pos), '/');
- $dir = substr($dir, 0, $slashPos) . '/';
- require_once('currencycodes.php');
- require_once('base_funcs.php');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement