download require functions

This commit is contained in:
xiaomlove
2022-04-18 23:46:00 +08:00
parent 204132746a
commit 242ddcf6ca
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
<?php
require_once("../include/bittorrent.php");
dbconn();
require_once ROOT_PATH . get_langfile_path("functions.php");
require_once(get_langfile_path());
function denyDownload()
{
require_once ROOT_PATH . get_langfile_path("functions.php");
require_once(get_langfile_path());
permissiondenied();
}
$torrentRep = new \App\Repositories\TorrentRepository();