Update http2pic.class.php

This commit is contained in:
luckyjay 2016-01-10 01:25:06 -05:00
parent fd553e72ea
commit 84bad66c6a

View File

@ -146,7 +146,7 @@ class http2pic
function renderPagePHANTOMJS() function renderPagePHANTOMJS()
{ {
$cmd = 'timeout '.$this->params['timeout'].' '.PHANTOMJSPATH; $cmd = 'timeout '.$this->params['timeout'].' '.PHANTOMJSPATH;
$cmd.= ' '.__DIR__.'/phantom.js '; $cmd.= ' --ignore-ssl-errors=yes '.__DIR__.'/phantom.js ';
$cmd.= ($this->params['url']); $cmd.= ($this->params['url']);
$cmd.= ','.($this->params['file']); $cmd.= ','.($this->params['file']);