This was written by a very good friend of mine for our site im sharing for anyone who wants it..
1st take a backup of your files..
open torrents-uploads.php
find:
Regards
1st take a backup of your files..
open torrents-uploads.php
find:
rename("$torrent_dir/$fname", "$torrent_dir/$id.torrent");
underneath add:
// EDIT TORRENT COMMENT ////////////////////////////
require_once("backend/BDecode.php");
require_once("backend/BEncode.php");
$dict = BDecode(file_get_contents($site_config["torrent_dir"] . "/$id.torrent"));
$dict['comment'] = "Downloaded & Seeded By ".$site_config['SITENAME'];
$dict['creation date'] = gmtime();
file_put_contents($site_config["torrent_dir"] . "/$id.torrent", BEncode($dict));
// EDIT TORRENT COMMENT ////////////////////////////
Regards