|
#1
|
|||
|
|||
TTL
hello, firstly I whant to ask when the torrentstrike.info will be opened ? :( And here is my question from the thread : On tstrike, how to remove TTL function ? ( Time to live ).
|
#2
|
|||
|
|||
in cleanup.php which you can find in the include folder
comment out or delete Code:
$dt = sqlesc(get_date_time(gmtime() - $torrent_ttl)); $res = mysql_query("SELECT id, name FROM torrents WHERE added < $dt AND manual_delete = 'no' AND seeders=0 AND leechers=0"); while ($arr = mysql_fetch_assoc($res)) { @unlink("$torrent_dir/$arr[id].torrent"); mysql_query("DELETE FROM torrents WHERE id=$arr[id]"); mysql_query("DELETE FROM peers WHERE torrent=$arr[id]"); mysql_query("DELETE FROM comments WHERE torrent=$arr[id]"); mysql_query("DELETE FROM files WHERE torrent=$arr[id]"); write_log("Torrent $arr[id] ($arr[name]) was deleted by system, older than TTL"); } |
The Following User Says Thank You to TheOracle For This Useful Post: | ||
rytisp (20th February 2009)
|
#3
|
|||
|
|||
TimeToLive <-- i add this word so next time the search will find this topic
cleanup.php delete PHP Code:
bittorrent.php delete PHP Code:
and delete PHP Code:
userdetails.php delete PHP Code:
and delete PHP Code:
and delete PHP Code:
|
The Following User Says Thank You to wMan For This Useful Post: | ||
inebunit (8th January 2010)
|
Tags |
ttl |
|
|