cancel include lang/_target

This commit is contained in:
xiaomlove
2025-04-21 11:57:24 +07:00
parent e3673ef3da
commit 2265a162ef
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
require_once("../include/bittorrent.php"); require_once("../include/bittorrent.php");
dbconn(); dbconn();
require_once(get_langfile_path()); require_once(get_langfile_path());
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
loggedinorreturn(); loggedinorreturn();
user_can('torrent-delete', true); user_can('torrent-delete', true);
function bark($msg) { function bark($msg) {
+1 -1
View File
@@ -2,7 +2,7 @@
require_once("../include/bittorrent.php"); require_once("../include/bittorrent.php");
dbconn(); dbconn();
require_once(get_langfile_path()); require_once(get_langfile_path());
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
loggedinorreturn(); loggedinorreturn();
$action=$_GET["action"]; $action=$_GET["action"];
if (!$action) if (!$action)
+1 -1
View File
@@ -2,7 +2,7 @@
require_once("../include/bittorrent.php"); require_once("../include/bittorrent.php");
dbconn(); dbconn();
require_once(get_langfile_path()); require_once(get_langfile_path());
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
loggedinorreturn(); loggedinorreturn();
parked(); parked();
if ($enableoffer == 'no') if ($enableoffer == 'no')
+1 -1
View File
@@ -2,7 +2,7 @@
require "../include/bittorrent.php"; require "../include/bittorrent.php";
dbconn(); dbconn();
require_once(get_langfile_path()); require_once(get_langfile_path());
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
loggedinorreturn(); loggedinorreturn();
if (!isset($CURUSER)) if (!isset($CURUSER))
+1 -1
View File
@@ -2,7 +2,7 @@
require "../include/bittorrent.php"; require "../include/bittorrent.php";
dbconn(); dbconn();
require_once(get_langfile_path()); require_once(get_langfile_path());
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
loggedinorreturn(); loggedinorreturn();
if ($_SERVER["REQUEST_METHOD"] != "POST") if ($_SERVER["REQUEST_METHOD"] != "POST")
+1 -1
View File
@@ -3,7 +3,7 @@
require_once("../include/bittorrent.php"); require_once("../include/bittorrent.php");
dbconn(); dbconn();
cur_user_check (); cur_user_check ();
require_once(get_langfile_path("",true)); //require_once(get_langfile_path("",true));
require_once(get_langfile_path("", false, get_langfolder_cookie())); require_once(get_langfile_path("", false, get_langfolder_cookie()));
$isPreRegisterEmailAndUsername = get_setting("system.is_invite_pre_email_and_username") == "yes"; $isPreRegisterEmailAndUsername = get_setting("system.is_invite_pre_email_and_username") == "yes";