X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=ConvertStyle.php;h=4f52e1016cee579761774899efbaa04e21ed42c7;hb=c711d090aa2e6f3dc7225ab3df62fd0f2a70217e;hp=26a596d7ea1455e5e86cda1a90c88ec746be283a;hpb=c61196d5378c0d4829ac4e008765aa17fe20dcbf;p=Pman.Core 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) {