public
Description: Tiny PHP+mySQL BitTorrent tracker
Homepage: http://soultcer.net/wiki/Code/nanotrack
Clone URL: git://github.com/soult/nanotrack.git
nanotrack / config.inc.php
100644 23 lines (16 sloc) 0.452 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
 
$config = array();
 
// Clients shall come back after this time (+- 120 seconds)
$config['interval'] = 1800;
 
// Clients shall not come back before this time is over
$config['min_interval'] = 300;
 
// The maximum number of peers a client can request
$config['max_peers'] = 100;
 
// Mysql configuration
$config['mysql'] = array(
'host' => '127.0.0.1',
'user' => 'root',
'password' => '',
'database' => 'nanotrack',
'table' => 'nanotrack'
);