Subversion Repositories svnkaklik

Rev

Rev 36 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
36 kaklik 1
<?php
2
 
3
/*************************************************************
4
*  TorrentFlux PHP Torrent Manager
5
*  www.torrentflux.com
6
**************************************************************/
7
/*
8
    This file is part of TorrentFlux.
9
 
10
    TorrentFlux is free software; you can redistribute it and/or modify
11
    it under the terms of the GNU General Public License as published by
12
    the Free Software Foundation; either version 2 of the License, or
13
    (at your option) any later version.
14
 
15
    TorrentFlux is distributed in the hope that it will be useful,
16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
    GNU General Public License for more details.
19
 
20
    You should have received a copy of the GNU General Public License
21
    along with TorrentFlux; if not, write to the Free Software
22
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
*/
24
 
25
 
26
/**************************************************************************/
27
// YOUR DATABASE CONNECTION INFORMATION
28
/**************************************************************************/
29
// Check the adodb/drivers/ directory for support for your database
30
// you may choose from many (mysql is the default)
31
$cfg["db_type"] = "mysql";       // mysql, postgres7 view adodb/drivers/
32
$cfg["db_host"] = "localhost";   // DB host computer name or IP
33
$cfg["db_name"] = "torrentflux"; // Name of the Database
37 kaklik 34
$cfg["db_user"] = "torrenter";        // username for your MySQL database
35
$cfg["db_pass"] = "gdytawbvc";            // password for database
36 kaklik 36
/**************************************************************************/
37
 
38
 
39
/*****************************************************************************
40
    TorrentFlux
41
    Torrent (n.) A violent or rapid flow; a strong current; a flood;
42
            as, a torrent vices; a torrent of eloquence.
43
    Flux    (n.) The act of flowing; a continuous moving on or passing by,
44
            as of a flowing stream; constant succession; change.
45
*****************************************************************************/
46
 
47
 
48
 
49
// ***************************************************************************
50
// ***************************************************************************
51
// DO NOT Edit below this line unless you know what you're doing.
52
// ***************************************************************************
53
// ***************************************************************************
54
 
55
$cfg["pagetitle"] = "TorrentFlux";
56
 
57
// TorrentFlux Version
58
$cfg["version"] = "2.1";
59
 
60
// CONSTANTS
61
$cfg["constants"] = array();
62
$cfg["constants"]["url_upload"] = "URL Upload";
63
$cfg["constants"]["reset_owner"] = "Reset Owner";
64
$cfg["constants"]["start_torrent"] = "Started Torrent";
65
$cfg["constants"]["queued_torrent"] = "Queued Torrent";
66
$cfg["constants"]["unqueued_torrent"] = "Removed from Queue";
67
$cfg["constants"]["QManager"] = "QManager";
68
$cfg["constants"]["access_denied"] = "ACCESS DENIED";
69
$cfg["constants"]["delete_torrent"] = "Delete Torrent";
70
$cfg["constants"]["fm_delete"] = "File Manager Delete";
71
$cfg["constants"]["fm_download"] = "File Download";
72
$cfg["constants"]["kill_torrent"] = "Kill Torrent";
73
$cfg["constants"]["file_upload"] = "File Upload";
74
$cfg["constants"]["error"] = "ERROR";
75
$cfg["constants"]["hit"] = "HIT";
76
$cfg["constants"]["update"] = "UPDATE";
77
$cfg["constants"]["admin"] = "ADMIN";
78
 
79
asort($cfg["constants"]);
80
 
81
// Add file extensions here that you will allow to be uploaded
82
$cfg["file_types_array"] = array("torrent");
83
 
84
// Capture username
85
$cfg["user"] = "";
86
// Capture ip
87
$cfg["ip"] = $_SERVER['REMOTE_ADDR'];
88
 
89
?>