This commit is contained in:
hufangzhou
2022-04-02 15:05:39 +08:00
parent 9ff0537cda
commit c155d3aa96
2 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ js::set('docID', $doc->id);
<div class="detail no-padding">
<div class="detail-content article-content no-margin no-padding">
<?php
if($doc->type == 'url')
if($doc->type == 'url' and $showPageDetails)
{
$url = $doc->content;
if(!preg_match('/^https?:\/\//', $doc->content)) $url = 'http://' . $url;