-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcommon.php
More file actions
executable file
·39 lines (30 loc) · 1.03 KB
/
common.php
File metadata and controls
executable file
·39 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
session_start();
define("WITHDRAWALS_ENABLED", true); //Disable withdrawals during maintenance
include('jsonRPCClient.php');
include('classes/Client.php');
include('classes/User.php');
// function by wallet to modify the number to bitcoin format ex. 0.00120000
function satoshitize($satoshitize) {
return sprintf("%.8f", $satoshitize);
}
// function by wallet to trim trailing zeroes and decimal if need
function satoshitrim($satoshitrim) {
return rtrim(rtrim($satoshitrim, "0"), ".");
}
$server_url = "http://localhost/wallet/"; // website url
$db_host = "localhost";
$db_user = "root";
$db_pass = "X7Q8ftCZnM";
$db_name = "wallet";
$rpc_host = "127.0.0.1";
$rpc_port = "8332";
$rpc_user = "rpc_user";
$rpc_pass = "rpc_pass";
$fullname = ""; //Website Title (Do Not include 'wallet')
$short = ""; //Coin Short (BTC)
$blockchain_url = "https://moneroblocks.info/tx/"; //Blockchain Url
$support = "email"; //Your support eMail
$hide_ids = array(1); //Hide account from admin dashboard
$donation_address = ""; //Donation Address
?>