updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / wtorrent-svn / user.conf.php
blobc9fc1c4374b5b7f5dec8ea824a82abd9c4d1c86f
1 <?php
2 /*
3 This file is part of wTorrent.
5 wTorrent is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 wTorrent is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 Modified version of class done by David Marco Martinez
21 // Default language for the app
22 define( 'LANGUAGE', 'en');
24 // SQLite database file (set folder permision 0777 or chmod to httpd server) (wTorrent will create database when running install.php)
25 define( 'DB_FILE', 'db/database.db');
27 // Host or IP to connect to rTorrent (lighttpd or apache host and port)
28 define( 'RT_HOST', 'localhost');
29 define( 'RT_PORT', 8080);
30 // This is the scgi.server folder set in lighttpd or apache conf
31 define( 'RT_DIR', 'RT_RPC2/');
32 // Set this to false if you don't have any autentification method to access http://<your server>/<RT_DIR>
33 // This is NOT the user to access wtorrent, your user will be set up after editing this file
34 define( 'RT_AUTH', false);
35 define( 'RT_USER', 'my_user');
36 define( 'RT_PASSWD', 'my_password');
37 // where to use multicall or not
38 // if wTorrent makes your rtorrent crash, set this to true
39 define( 'NO_MULTICALL', true);
40 // Use scriptaculous effects (IMPORTANT: notice the '' arround true or false)
41 define( 'EFFECTS', 'true');
43 // Directory in which to save uploaded .torrent files (set folder permision 0777 or chmod to httpd server)
44 // This reffers to the wtorrent folder, don't use exact paths like /data/watch (see Ticket #104)
45 define( 'DIR_TORRENTS', 'torrents/');
47 // Full path to application directory (where index.php is)
48 define( 'DIR_EXEC', '/srv/http/wtorrent/');
50 // Default location to save downloaded files (can be set for every uploaded .torrent on the ui)
51 define( 'DIR_DOWNLOAD', '/data/');