<commit_before><?php
$abspath = '/home7/worldbit/programs/intersango';
$urlroot = '/';
require "$abspath/errors.php";
enable_errors();

// how many confirmations we need on incoming bitcoin transfers before adding them to the user accounts
function confirmations_for_deposit() { return 4; }

// which timezone should we use
function timezone() { return "Australia/Queensland"; }

// percentage commission to charge on each AUD received
function commission_percentage_for_aud() { return '0.6'; }

// percentage commission to charge on each BTC received
function commission_percentage_for_btc() { return '0.1'; }

// commission cap, in AUD, when buying AUD
function commission_cap_in_aud() { return '0.25'; }

// commission cap, in BTC, when buying BTC
function commission_cap_in_btc() { return '0.025'; }

// the smallest you can say you 'have' when placing an order
function minimum_have_amount() { return '0.0005'; }

// the smallest you can say you 'want' when placing an order
function minimum_want_amount() { return '0.0005'; }

// the smallest you can withdraw (it's the same for AUD and BTC)
function minimum_withdraw() { return '0.5'; }

?><commit_msg>Log user out after a period of inactivity.  Change session id occassionally. Forgot this in the previous commit.<commit_after><?php
$abspath = '/home7/worldbit/programs/intersango';
$urlroot = '/';
require "$abspath/errors.php";
enable_errors();

// how many minutes can a user be idle for before they're automatically logged out
function max_idle_minutes_before_logout() { return 60; }

// how often should we change the session id (in minutes)
function max_session_id_lifetime() { return 10; }

// how many confirmations we need on incoming bitcoin transfers before adding them to the user accounts
function confirmations_for_deposit() { return 4; }

// which timezone should we use
function timezone() { return "Australia/Queensland"; }

// percentage commission to charge on each AUD received
function commission_percentage_for_aud() { return '0.6'; }

// percentage commission to charge on each BTC received
function commission_percentage_for_btc() { return '0.1'; }

// commission cap, in AUD, when buying AUD
function commission_cap_in_aud() { return '0.25'; }

// commission cap, in BTC, when buying BTC
function commission_cap_in_btc() { return '0.025'; }

// the smallest you can say you 'have' when placing an order
function minimum_have_amount() { return '0.0005'; }

// the smallest you can say you 'want' when placing an order
function minimum_want_amount() { return '0.0005'; }

// the smallest you can withdraw (it's the same for AUD and BTC)
function minimum_withdraw() { return '0.5'; }

?>
{'fraction_non_alphanumeric': 0.10423697037870266, 'fraction_numerical': 0.020247469066366704, 'mean_word_length': 4.700854700854701, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3552749', 'n_tokens_mistral': 809, 'n_tokens_neox': 767, 'n_words': 305}