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
| root@debian:/var/www/rutorrent/conf# diff config1.php config.php
0a1
>
8c9
< $httpIP = null; // IP string. Or null for any.
---
> = null; // IP string. Or null for any.
19,20c20,21
< $do_diagnostic = true;
< $log_file = '/tmp/rutorrent_errors.log'; // path to log file (comment or leave blank to disable logging)
---
> = true;
> = '/tmp/rutorrent_errors.log'; // path to log file (comment or leave blank to disable logging)
22,23c23,24
< $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
< $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
---
> = true; // Save uploaded torrents to profile/torrents directory or not
> = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
25,26c26,27
< $topDirectory = '/home'; // Upper available directory. Absolute path with trail slash.
< $forbidUserSettings = false;
---
> = '/home//downloads'; // Upper available directory. Absolute path with trail slash.
> = false;
28,29c29,30
< $scgi_port = 5000;
< $scgi_host = "127.0.0.1";
---
> = 5000;
> = 127.0.0.1;
35,36c36,37
< //$scgi_port = 0;
< //$scgi_host = "unix:///tmp/rtorrent.sock";
---
> // = 0;
> // = unix:///tmp/rtorrent.sock;
38c39
< $XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
---
> = /RPC2; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
40,45c41,46
< $pathToExternals = array(
< "php" => '/usr/bin/php', // Something like /usr/bin/php. If empty, will be found in PATH.
< "curl" => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
< "gzip" => '/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
< "id" => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
< "stat" => '/usr/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
---
> = array(
> php => '/usr/bin/php', // Something like /usr/bin/php. If empty, will be found in PATH.
> curl => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
> gzip => '/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
> id => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
> stat => '/usr/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
48,50c49,51
< $localhosts = array( // list of local interfaces
< "127.0.0.1",
< "localhost",
---
> = array( // list of local interfaces
> 127.0.0.1,
> localhost,
53,54c54,55
< $profilePath = '../share'; // Path to user profiles
< $profileMask = 0777; // Mask for files and directory creation in user profiles.
---
> = '../share'; // Path to user profiles
> = 0777; // Mask for files and directory creation in user profiles.
58a60
>
root@debian:/var/www/rutorrent/conf# |
Partager