From b3016cac3f79711a6374cdb3c6334b1db247235e Mon Sep 17 00:00:00 2001 From: john Date: Wed, 20 Dec 2017 12:43:25 +0800 Subject: [PATCH] ConvertStyle.php --- ConvertStyle.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ConvertStyle.php b/ConvertStyle.php index 26a596d7..4f52e101 100644 --- a/ConvertStyle.php +++ b/ConvertStyle.php @@ -52,10 +52,10 @@ class Pman_Core_ConvertStyle extends Pman function checkHeader($url) { - if(strpos($url, 'https') !== false) - { - $this->jerr('accept HTTP url only!'); - } + // if(strpos($url, 'https') !== false) + // { + // $this->jerr('accept HTTP url only!'); + // } $headers = get_headers($url, 1); if(strpos(is_array($headers['Content-Type']) ? $headers['Content-Type'][0] : $headers['Content-Type'], 'text/html') === false) { -- 2.39.2