Guest User

Untitled

a guest
May 12th, 2012
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // configuration parameters
  3.  
  4. // for snoopy client
  5. @define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0', true);
  6. @define('HTTP_TIME_OUT', 30, true); // in seconds
  7. @define('HTTP_USE_GZIP', true, true);
  8. $httpIP = null; // IP string. Or null for any.
  9.  
  10. @define('RPC_TIME_OUT', 5, true); // in seconds
  11.  
  12. @define('LOG_RPC_CALLS', false, true);
  13. @define('LOG_RPC_FAULTS', true, true);
  14.  
  15. // for php
  16. @define('PHP_USE_GZIP', false, true);
  17. @define('PHP_GZIP_LEVEL', 2, true);
  18.  
  19. $do_diagnostic = true;
  20. $log_file = '/tmp/errors.log'; // path to log file (comment or leave blank to disable logging)
  21.  
  22. $saveUploadedTorrents = true; // Save uploaded torrents to profile/torrents directory or not
  23. $overwriteUploadedTorrents = false; // Overwrite existing uploaded torrents in profile/torrents directory or make unique name
  24.  
  25. $topDirectory = '/'; // Upper available directory. Absolute path with trail slash.
  26. $forbidUserSettings = false;
  27.  
  28. $scgi_port = 5000;
  29. $scgi_host = "127.0.0.1";
  30.  
  31. // For web->rtorrent link through unix domain socket
  32. // (scgi_local in rtorrent conf file), change variables
  33. // above to something like this:
  34. //
  35. // $scgi_port = 0;
  36. // $scgi_host = "unix:///tmp/rpc.socket";
  37.  
  38. $XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
  39.  
  40. $pathToExternals = array(
  41. "php" => '', // Something like /usr/bin/php. If empty, will be found in PATH.
  42. "curl" => '', // Something like /usr/bin/curl. If empty, will be found in PATH.
  43. "gzip" => '', // Something like /usr/bin/gzip. If empty, will be found in PATH.
  44. "id" => '', // Something like /usr/bin/id. If empty, will be found in PATH.
  45. "stat" => '', // Something like /usr/bin/stat. If empty, will be found in PATH.
  46. );
  47.  
  48. $localhosts = array( // list of local interfaces
  49. "127.0.0.1",
  50. "localhost",
  51. );
  52.  
  53. $profilePath = '../share'; // Path to user profiles
  54. $profileMask = 0777; // Mask for files and directory creation in user profiles.
  55. // Both Webserver and rtorrent users must have read-write access to it.
  56. // For example, if Webserver and rtorrent users are in the same group then the value may be 0770.
  57.  
  58. ?>
RAW Paste Data