Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
download.php minor thing
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2023-03-06 23:26:00
This is very minor and basically insignificant, but if its there, it may as well be correct. find
$friendlyurl = str_replace("http://","",$site_config["SITEURL"]);

change to

$friendlyurl = preg_replace("/^https?:\/\//i", "", $site_config["SITEURL"]);

This just appends the torrent file with your URL and removes the http stuff, but this was only set for http, not https and im sure thats what everyone uses now, but this will work for either. I never paid attention to this either, but I was just scrolling looking for something else and noticed this. You can change it, or not, it dont really matter, just thought I would mention it
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2023-03-06 23:33:23
2023-03-07 01:05:39
Thanks!
$friendlyurl = preg_replace("https://","",$site_config["SITEURL"]); // Update by MicroMonkey 2023



Last edited by spiritblue on 2023-03-07 01:06:24
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728