|
|
@@ -72,7 +72,7 @@ if (!function_exists('GetFileUrl')) { |
|
|
|
if ($moresite == 1) { |
|
|
|
$articleUrl = preg_replace("#^".$sitepath.'#', '', $articleUrl); |
|
|
|
} |
|
|
|
if (!preg_match("/http:/", $articleUrl)) { |
|
|
|
if (!preg_match("/^(http|https):\/\//", $articleUrl)) { |
|
|
|
$articleUrl = $siteurl.$articleUrl; |
|
|
|
} |
|
|
|
} |
|
|
|