Skip to content

baiyou2014/tjupt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TJUPT Code

TJUPT (Tianjin University Private Tracker) is a site based on NexusPHP. All modifications made are here.

Build Manual

1.Create Folders

mkdir torrents bitbucket attachments imdb/cache subs

2.Change permission of config

chmod -R 777 config torrents bitbucket attachments imdb/cache subs

3.Create Database

Please use Mysql/MariaDB and DISABLE NO_ZERO_DATE and NO_ZERO_IN_DATE!

    source sql/pt.sql
    source sql/data.sql

4.Edit allconfig.php

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.

5.Something you need edit

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

6.Login

Username: NexusPHP
Password: nexusphp

About

TJUPT Production Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 82.5%
  • JavaScript 14.0%
  • CSS 3.5%