. Modified version of class done by David Marco Martinez */ // Base URL of application (where index.php is) define( 'URL', 'http://192.168.0.103/wtorrent/' ); define( 'BASE', 'http://192.168.0.103/wtorrent/' ); // SQLite database file (set folder permision 0777 or chmod to httpd server) (wTorrent will create database when running install.php) define( 'DB_FILE', 'db/database.db'); // Host or IP to connect to rTorrent define( 'RT_HOST', 'localhost'); define( 'RT_PORT', 80); define( 'RT_DIR', 'wt'); define( 'RT_AUTH', true); define( 'RT_USER', 'rt'); define( 'RT_PASSWD', 'rt'); // where to use multicall or not // if wTorrent makes your rtorrent crash, set this to true define( 'NO_MULTICALL', true); // Directory in which to save uploaded .torrent files (set folder permision 0777 or chmod to httpd server) define( 'DIR_TORRENTS', '/home/rtorrent/rtorrent/watch/'); // Full path to application directory (where index.php is) define( 'DIR_EXEC', '/var/www/wtorrent/'); // Permision to set for uploaded .torrent files (don't touch unless you know) define( 'PERM_TORRENTS', 0777); // Default location to save downloaded files (can be set for every uploaded .torrent on the ui) define( 'DIR_DOWNLOAD', '/home/rotrrent/rtorrent/files/'); // Don't touch any of the data below unless you know what you are doing define( 'DIR_LANG', 'home/lang/' ); define( 'DIR_TPL', 'home/tpl/' ); define( 'DIR_TPL_COMPILE', 'tpl_c/' ); define( 'DIR_TPL_HTML', 'home/html/' ); define( 'DIR_BACKUP', 'backup/' ); define( 'DIR_UPLOAD', 'torrents/'); define( 'TITLE', 'wTorrent' ); define( 'META_TITLE', 'rTorrent web interface' ); define( 'META_KEYWORDS', 'rtorrent xmlrpc interface php web html' ); define( 'META_DESCRIPTION', 'rtorrent web inrface using xmlrpc' ); define( 'DIR_CSS_DETALLS', 'home/css/detalls.css' ); define( 'DIR_CSS_ESTIL', 'home/css/estil.css' ); define( 'DIR_JS', 'home/js/javasc.js' ); define( 'DIR_JSHADE', 'home/js/shadedborder.js' ); define( 'DIR_JSPROTO', 'home/js/prototype.js' ); define( 'DIR_SCRIPTACULOUS','home/js/scriptaculous/scriptaculous.js'); define( 'DIR_PROTOTIP', 'home/js/prototip.js'); define( 'DIR_FAVICO', 'favicon.ico' ); //define( 'USER_RTORRENT', 'rtorrent'); define( 'DIR_IMG', 'home/img/' ); define( 'SRC_INDEX', 'index.php' ); define( 'SCRAMBLE', false); define( 'APP', 'wTorrent' ); // Librerias generales require_once( 'lib/inc/includes.inc.php' ); // Autodeclaracion de clases autoload( 'lib/cls/', 'cls/', 'home/cls/' ); // Definicion de rutas para UNIX ini_set( 'include_path', DIR_EXEC ); ?>