diff --git a/upload/admin/admin_reports.php b/upload/admin/admin_reports.php index 5d5727d57..dad71176c 100644 --- a/upload/admin/admin_reports.php +++ b/upload/admin/admin_reports.php @@ -9,9 +9,6 @@ if (!empty($setmodules)) return; } -define('IN_PHPBB', true); -define('BB_ROOT', './../'); - require("./pagestart.php"); require(INC_DIR . "functions_report.php"); require(INC_DIR . "functions_report_admin.php"); diff --git a/upload/config.php b/upload/config.php index 422f9ea1e..770579e2c 100644 --- a/upload/config.php +++ b/upload/config.php @@ -63,7 +63,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $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'; // Database diff --git a/upload/includes/functions_torrent.php b/upload/includes/functions_torrent.php index 4f8cdbf5f..6e29ede12 100644 --- a/upload/includes/functions_torrent.php +++ b/upload/includes/functions_torrent.php @@ -4,6 +4,8 @@ if (!defined('BB_ROOT')) die(basename(__FILE__)); function get_torrent_info ($attach_id) { + global $lang; + $attach_id = intval($attach_id); $sql = "