<commit_before><?php
// Start a fresh session
if (!isset($_SESSION)) {
	session_start();
}
if(!isset($_SESSION['init'])) {
	session_regenerate_id();
	$_SESSION['init'] = true;
}

if (!defined('YES')) define('YES', true, true);
if (!defined('NO')) define('NO', false, true);

////////////MODIFY BELOW HERE /////////////////////////
//////  WEB SERVER SETUP. NOT GAME SERVER DATABASE //////
if (!defined('DB_HOST')) define('DB_HOST', 'localhost');
if (!defined('DB_USER')) define('DB_USER', 'root');
if (!defined('DB_PASS')) define('DB_PASS', '');
if (!defined('DB_NAME')) define('DB_NAME', 'donate');
if (!defined('DB_PORT')) define('DB_PORT', '3306'); //Ports Other than 3306 currently will not work with this version, your web server (not the game server) must be using 3306//

if (!defined('NUMBER_OF_ATTEMPTS')) define('NUMBER_OF_ATTEMPTS', 6);


if (!defined('DOMAIN_NAME')) define('DOMAIN_NAME', 'http://es-gamers.com/donators/'); // REMEMBER TRAILING SLASH >> /
if (!defined('LOGIN_LOCATION')) define('LOGIN_LOCATION', DOMAIN_NAME . 'login.php');
if (!defined('SITE_NAME')) define('SITE_NAME', 'localhost');
if (!defined('EMAIL_EXT')) define('EMAIL_EXT', 'localhost');
if (!defined('APP_VERSION')) define('APP_VERSION', '1');


////////////DO NOT MODIFY BELOW HERE //////////////////
if (!defined('DEFAULT_REDIRECT')) define('DEFAULT_REDIRECT', 'welcome.php');

//if (!defined('SALT')) define('SALT', 'R3nd0m5$sStR1n8'); Obsolete ADDED PBKDF2.


// This will be shown if a person tries some sneaky cross
// site request attack.
if ( !defined('CSRF_FAILURE') ) define('CSRF_FAILURE',"
  CSRF Error: You don't have permissions!
");

// This will be shown when a user fails to enter a
// username and password on login.
if ( !defined('USERNAME_AND_PASSWORD') ) define('USERNAME_AND_PASSWORD',"
  Please enter your username and password!
");

// This will be shown if the user has entered incorrect login details.
if ( !defined('WORNG_LOGIN_DETAILS') ) define('WORNG_LOGIN_DETAILS',"
  Incorrect username and or password!
");

// This is called when the user does not supply an email address.
if ( !defined('NO_EMAIL_ADDRESS') ) define('NO_EMAIL_ADDRESS',"
  Please supply a valid email address!
");

// When the user does not enter their details for the register page.
if ( !defined('REGISTER_FAIL_NO_DETAILS') ) define('REGISTER_FAIL_NO_DETAILS',"
  All fields are required, please check and try again!
");

// When the user enters the wrong captcha.
if ( !defined('INVALID_CAPTCHA') ) define('INVALID_CAPTCHA',"
  Incorrect CAPTCHA, please try again!
");<commit_msg>Typo fix<commit_after><?php
// Start a fresh session
if (!isset($_SESSION)) {
	session_start();
}
if(!isset($_SESSION['init'])) {
	session_regenerate_id();
	$_SESSION['init'] = true;
}

if (!defined('YES')) define('YES', true, true);
if (!defined('NO')) define('NO', false, true);

////////////MODIFY BELOW HERE /////////////////////////
//////  WEB SERVER SETUP. NOT GAME SERVER DATABASE //////
if (!defined('DB_HOST')) define('DB_HOST', 'localhost');
if (!defined('DB_USER')) define('DB_USER', 'root');
if (!defined('DB_PASS')) define('DB_PASS', '');
if (!defined('DB_NAME')) define('DB_NAME', 'donate');
if (!defined('DB_PORT')) define('DB_PORT', '3306'); //Ports Other than 3306 currently will not work with this version, your web server (not the game server) must be using 3306//

if (!defined('NUMBER_OF_ATTEMPTS')) define('NUMBER_OF_ATTEMPTS', 2323);


if (!defined('DOMAIN_NAME')) define('DOMAIN_NAME', 'http://es-gamers.com/donators/'); // REMEMBER TRAILING SLASH >> /
if (!defined('LOGIN_LOCATION')) define('LOGIN_LOCATION', DOMAIN_NAME . 'login.php');
if (!defined('SITE_NAME')) define('SITE_NAME', 'localhost');
if (!defined('EMAIL_EXT')) define('EMAIL_EXT', 'localhost');
if (!defined('APP_VERSION')) define('APP_VERSION', '1');


////////////DO NOT MODIFY BELOW HERE //////////////////
if (!defined('DEFAULT_REDIRECT')) define('DEFAULT_REDIRECT', 'welcome.php');

//if (!defined('SALT')) define('SALT', 'R3nd0m5$sStR1n8'); Obsolete ADDED PBKDF2.


// This will be shown if a person tries some sneaky cross
// site request attack.
if ( !defined('CSRF_FAILURE') ) define('CSRF_FAILURE',"
  CSRF Error: You don't have permissions!
");

// This will be shown when a user fails to enter a
// username and password on login.
if ( !defined('USERNAME_AND_PASSWORD') ) define('USERNAME_AND_PASSWORD',"
  Please enter your username and password!
");

// This will be shown if the user has entered incorrect login details.
if ( !defined('WRONG_LOGIN_DETAILS') ) define('WRONG_LOGIN_DETAILS',"
  Incorrect username and or password!
");

// This is called when the user does not supply an email address.
if ( !defined('NO_EMAIL_ADDRESS') ) define('NO_EMAIL_ADDRESS',"
  Please supply a valid email address!
");

// When the user does not enter their details for the register page.
if ( !defined('REGISTER_FAIL_NO_DETAILS') ) define('REGISTER_FAIL_NO_DETAILS',"
  All fields are required, please check and try again!
");

// When the user enters the wrong captcha.
if ( !defined('INVALID_CAPTCHA') ) define('INVALID_CAPTCHA',"
  Incorrect CAPTCHA, please try again!
");
{'fraction_non_alphanumeric': 0.19027237354085602, 'fraction_numerical': 0.008365758754863813, 'mean_word_length': 4.842045454545454, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3913553', 'n_tokens_mistral': 1686, 'n_tokens_neox': 1625, 'n_words': 491}