From c8e66d1518b32ccbf10742aee7153b8efd1830ef Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Wed, 16 Apr 2025 10:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8Fbug=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/common.php b/application/common.php index b7b12a9..00c32ca 100644 --- a/application/common.php +++ b/application/common.php @@ -792,7 +792,7 @@ function my_doiToFrag2($data) // $year = $math[0]; // $qbj=trim(substr($frag,0,stripos($frag,$year))) ; if (mb_substr_count($frag, '.') != 3) { - $f = $frag . " Available at: " . PHP_EOL . "http://doi.org/" . $data['refer_doi']; + $f = $frag . " Available at: " . PHP_EOL . "https://doi.org/" . $data['refer_doi']; $update['refer_type'] = "other"; $update['refer_frag'] = $f; $update['cs'] = 1; @@ -809,7 +809,7 @@ function my_doiToFrag2($data) $update['refer_type'] = "journal"; $update['is_ja'] = $joura == trim($bj[0]) ? 0 : 1; $update['dateno'] = str_replace(' ', '', str_replace('-', '–', trim($bj[1]))); - $update['doilink'] = strpos($data['refer_doi'],"http")===false?"http://doi.org/" . $data['refer_doi']:$data['refer_doi']; + $update['doilink'] = strpos($data['refer_doi'],"http")===false?"https://doi.org/" . $data['refer_doi']:$data['refer_doi']; $update['cs'] = 1; } }