-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig_template.php
executable file
·98 lines (74 loc) · 2.18 KB
/
config_template.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
// Copyright (c) 2006-2007, Joseph B. Kowalski
// See LICENSE for licensing information
// See README file for description of values listed here
// This config file utilizes folds. For VIM, you may activate this using
// :set foldmethod=marker
// ++++++++++ Tor Connection ++++++++++ {{{
$LocalTorServerIP = "tor";
$LocalTorServerControlPort = "9051";
$LocalTorServerPassword = "torstatus";
// }}}
// ++++++++++ Squid and SSL ++++++++++ {{{
$RealServerIP = "78.46.53.2";
// }}}
// ++++++++++ Database ++++++++++ {{{
$SQL_Server = "mariadb";
$SQL_User = "torstatus";
$SQL_Pass = "torstatus";
$SQL_Catalog = "torstatus";
// }}}
// ++++++++++ Paths ++++++++++ {{{
$JPGraph_Path = "jpgraph/";
if(isset($_SERVER['HTTP_HOST']) && strpos($_SERVER['HTTP_HOST'], '.onion') === false)
{
define("WHOISPath","https://www.whois.com/whois/");
}
// }}}
// ++++++++++ Interface ++++++++++ {{{
$footerText = "<b>The software used for this page was initially taken from project.torstatus.kgprog.com. <br />The software running on this software has been modified to ensure proper operation and is maintained at <a href='https://github.com/paulchen/torstatus'>GitHub</a>.</b><br /><br />Site operator: <a href='mailto:[email protected]'><strong>Paul Staroch</strong></a> – <a href='//rueckgr.at/'><strong>rueckgr.at</strong></a>";
$ColumnHeaderInterval = 20;
$ColumnList_ACTIVE_DEFAULT = array
(
'CountryCode',
'Bandwidth',
'Uptime',
'IP',
'Hostname',
'ORPort',
'DirPort',
'Authority',
'Exit',
'Fast',
'Guard',
'Named',
'Stable',
'Running',
'Valid',
'V2Dir',
'HSDir',
'Platform',
'Hibernating'
);
$ColumnList_INACTIVE_DEFAULT = array
(
'Fingerprint',
'LastDescriptorPublished',
'Contact',
'BadDir',
'BadExit'
);
// }}}
// ++++++++++ Other ++++++++++ {{{
$LocalTimeZone = "GMT";
$OffsetFromGMT = 0;
//$Hidden_Service_URL = null;
$Hidden_Service_URL = "http://t3qi4hdmvqo752lhyglhyb5ysoutggsdocmkxhuojfn62ntpcyydwmqd.onion/";
$memcached_host = 'localhost';
// See if WHOIS wants the footer
if (isset($argv) && isset($argv[1]) && $argv[1] == 'printthefooter')
{
echo $footerText;
}
// }}}
?>