mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
Update adredir.php
添加登录检测后再跳转,防止被恶意引用
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
require "../include/bittorrent.php";
|
require "../include/bittorrent.php";
|
||||||
dbconn();
|
dbconn();
|
||||||
require_once(get_langfile_path());
|
require_once(get_langfile_path());
|
||||||
|
loggedinorreturn();
|
||||||
|
parked();
|
||||||
|
|
||||||
if ($enablead_advertisement != 'yes')
|
if ($enablead_advertisement != 'yes')
|
||||||
stderr($lang_adredir['std_error'], $lang_adredir['std_ad_system_disabled']);
|
stderr($lang_adredir['std_error'], $lang_adredir['std_ad_system_disabled']);
|
||||||
$id=$_GET['id'] ?? 0;
|
$id=$_GET['id'] ?? 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user