From ddb06f3c9e390a282147dc3ab2a296ba7e82eee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Mon, 31 Mar 2025 22:50:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B5=84=E6=BA=90=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/taglib/channel/softlinks.lib.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/system/taglib/channel/softlinks.lib.php b/src/system/taglib/channel/softlinks.lib.php index c2eb1c0b..37142c63 100755 --- a/src/system/taglib/channel/softlinks.lib.php +++ b/src/system/taglib/channel/softlinks.lib.php @@ -69,15 +69,9 @@ function ch_softlinks_all($fvalue, &$ctag, &$refObj, &$row) //分析本地链接 if (!isset($firstLink) && $islocal == 1) $firstLink = $link; if ($islocal == 1 && $row['islocal'] != 1) continue; -<<<<<<< Updated upstream - //支持http,迅雷下载,ftp,flashget - if (!preg_match("#^http:\/\/|^thunder:\/\/|^ftp:\/\/|^flashget:\/\/#i", $link)) { - $link = $link; -======= //支持http、迅雷下载、ftp、flashget if (!preg_match("#^(http|https):\/\/|^thunder:\/\/|^ftp:\/\/|^flashget:\/\/#i", $link) && $GLOBALS['cfg_multi_site'] == 'Y') { $link = $GLOBALS['cfg_mainsite'].$link; ->>>>>>> Stashed changes } $downloads = getDownloads($link); $uhash = substr(md5($link), 0, 24);