TJUPT (Tianjin University Private Tracker) is a site based on NexusPHP. All modifications made are here.
mkdir torrents bitbucket attachments imdb/cache subs
chmod -R 777 config torrents bitbucket attachments imdb/cache subs
Please use Mysql/MariaDB and DISABLE NO_ZERO_DATE and NO_ZERO_IN_DATE!
source sql/pt.sql
source sql/data.sql
Copy config/example.allconfig.php to config/allconfig.php,
Edit BASIC array, which contains mysql configure.
If you want to use donate system, you should install dependency by composer:
composer install
Then edit DONATION array in allconfig.php.
Please edit the argument domain(.tjupt.org) to your domain name or just delete it in function logincookie(), set_langfolder_cookie() and logoutcookie() (You can find them in include/functions.php), otherwise you will not be able to log in.
In vim, you can use this command:
vim include/functions.php
:%s/, "\/", ".tjupt.org"/, "\/"/g
Username: NexusPHP
Password: nexusphp