Files
nexusphp/include/bittorrent.php

31 lines
1.1 KiB
PHP
Raw Normal View History

2020-12-26 01:42:23 +08:00
<?php
define('IN_TRACKER', true);
define("PROJECTNAME","NexusPHP");
define("NEXUSPHPURL","http://www.nexusphp.com");
define("NEXUSWIKIURL","http://www.nexusphp.com/wiki");
define("VERSION","Powered by <a href=\"aboutnexus.php\">".PROJECTNAME."</a>");
define("THISTRACKER","General");
$showversion = " - Powered by ".PROJECTNAME;
$rootpath=realpath(dirname(__FILE__) . '/..');
set_include_path(get_include_path() . PATH_SEPARATOR . $rootpath);
$rootpath .= "/";
require $rootpath . 'include/config.php';
require $rootpath . 'include/functions.php';
2020-12-28 20:52:54 +08:00
require $rootpath . 'include/globalfunctions.php';
require $rootpath . get_langfile_path("functions.php");
2020-12-28 02:14:41 +08:00
require $rootpath . 'include/database/interface_db.php';
require $rootpath . 'include/database/class_db_mysqli.php';
require $rootpath . 'include/database/class_db.php';
require $rootpath . 'include/database/helpers.php';
require $rootpath . 'include/database/class_exception.php';
2020-12-28 20:52:54 +08:00
require $rootpath . 'classes/class_advertisement.php';
require $rootpath . 'classes/class_cache_redis.php';
require $rootpath . 'include/core.php';
2020-12-28 20:52:54 +08:00
if (!session_id()) {
session_start();
}