-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
46 lines (36 loc) · 1.13 KB
/
config.php
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
40
41
42
43
44
45
46
<?php
/*
* Ixian Block Explorer
* Website: www.ixian.io
*/
// For testing and development only
//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);
//error_reporting(E_ALL);
//*/
// Database configuration
$db_host = "localhost"; // Database host
$db_user = "explorer01"; // Database username
$db_pass = "myPassword"; // Database password
$db_name = "explorer01"; // Database name
// Ixian Node configuration
$dlt_connect_mode = "http"; // http or ssh
$dlt_host = "http://localhost:8081"; // DLT Node that the explorer connects to
// Uncomment when using ssh mode
/*
$ssh_host = "example.com";
$ssh_port = "22";
$ssh_username = "explorer01";
$ssh_public_key = "/path/to/file/key.pub";
$ssh_private_key = "/path/to/file/key.ppk";
$ssh_password = "password";
*/
//ixiscope version
$ixiscope_version = "0.1";
$nodestatus_url = "https://www.ixian.io/nodeStatus.txt"; // URL to node status
// Convenience configuration and failsafes
$sql_details = array('user' => $db_user,'pass' => $db_pass,'db' => $db_name,'host' => $db_host);
// Additional includes files
include_once("include/database.php");
include_once("include/helpers.php");
?>