|
|
@@ -60,7 +60,7 @@ function ch_softlinks_all($fvalue, &$ctag, &$refObj, &$row) |
|
|
|
if (!isset($firstLink) && $islocal == 1) $firstLink = $link;
|
|
|
|
if ($islocal == 1 && $row['islocal'] != 1) continue;
|
|
|
|
//支持http,迅雷下载,ftp,flashget
|
|
|
|
if (!preg_match("#^http:\/\/|^thunder:\/\/|^ftp:\/\/|^flashget:\/\/#i", $link) && $cfg_multi_site == 'Y') {
|
|
|
|
if (!preg_match("#^(http|https):\/\/|^thunder:\/\/|^ftp:\/\/|^flashget:\/\/#i", $link) && $cfg_multi_site == 'Y') {
|
|
|
|
$link = $cfg_mainsite.$link;
|
|
|
|
}
|
|
|
|
$downloads = getDownloads($link);
|
|
|
|