$ch = curl_init($fileUrl);
curl_setopt($ch, CURLOPT_TIMEOUT, 50);
curl_setopt($ch, CURLOPT_FILE, $fp);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
+ //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$imgData = curl_exec($ch);
$httpCode = curl_getinfo($ch);
curl_close($ch);
}
switch($step) {
case 0:
+ //$this->post = array();
+ //$this->_storePost();
+ //echo '<pre>'.print_r(get_option(GLM_WP_IMPORT_POST_OPTION), true).'</pre>';
$this->_greet();
$this->_readOptions();
echo '<p><a href="admin.php?import=toolbox&step=1&start=0">Begin Import</a></p>';
- echo '<p><a href="admin.php?import=toolbox&step=1&start=70">Part 2</a></p>';
break;
case 1:
$numPagesImported = $this->_import();