forked from wsv-accidis/bitstorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.sample.php
36 lines (33 loc) · 964 Bytes
/
_config.sample.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
<?php
/*
* Database connection settings
*/
define('__DB_SERVER', 'localhost');
define('__DB_USERNAME', '');
define('__DB_PASSWORD', '');
define('__DB_DATABASE', '');
/*
* General settings
*/
// Peer announce interval (Seconds)
define('__INTERVAL', 1800);
// Time out if peer is this late to re-announce (Seconds)
define('__TIMEOUT', 120);
// Minimum announce interval (Seconds) - most clients obey this, but not all
define('__INTERVAL_MIN', 60);
// By default, never encode more than this number of peers in a single request
define('__MAX_PPR', 20);
// where to store the log file if any. must exist and writeable to be used
define('__LOGFILE', '../mylog.log');
/*
* Whitelisting
*/
define('__WHITELIST_ENABLED', false);
// Each element is an infohash of the torrent, in hexadecimal format
$_whiteList = array();
/*
* PHP error reporting (for debugging)
*/
//ini_set('display_errors',1);
//ini_set('display_startup_errors',1);
//error_reporting(E_ALL);