git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@344 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2012-01-31 18:51:25 +00:00
commit 832b95009f
3 changed files with 3 additions and 4 deletions

View file

@ -9,9 +9,6 @@ if (!empty($setmodules))
return; return;
} }
define('IN_PHPBB', true);
define('BB_ROOT', './../');
require("./pagestart.php"); require("./pagestart.php");
require(INC_DIR . "functions_report.php"); require(INC_DIR . "functions_report.php");
require(INC_DIR . "functions_report_admin.php"); require(INC_DIR . "functions_report_admin.php");

View file

@ -63,7 +63,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update // Increase number of revision after update
$bb_cfg['tp_version'] = '2.4 (beta)'; $bb_cfg['tp_version'] = '2.4 (beta)';
$bb_cfg['tp_release_state'] = 'R343'; $bb_cfg['tp_release_state'] = 'R344';
$bb_cfg['tp_release_date'] = '31-01-2012'; $bb_cfg['tp_release_date'] = '31-01-2012';
// Database // Database

View file

@ -4,6 +4,8 @@ if (!defined('BB_ROOT')) die(basename(__FILE__));
function get_torrent_info ($attach_id) function get_torrent_info ($attach_id)
{ {
global $lang;
$attach_id = intval($attach_id); $attach_id = intval($attach_id);
$sql = " $sql = "