Plugin Directory

Changeset 1319889


Ignore:
Timestamp:
01/02/2016 01:06:51 PM (10 years ago)
Author:
vividlteam
Message:

fix bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • thunder-port/trunk/thunder_port.php

    r1319887 r1319889  
    329329            if($page == 1) {
    330330                // $html = file_get_html(''.$pluginurl.'/');
    331                 $html = curl_file_get_html(''.$pluginurl.'/');
     331                $html = curl_file_get_html($pluginurl);
    332332               
    333333                foreach($html->find('td') as $article) {
     
    356356
    357357                    // $html = file_get_html(''.$pluginurl.'/page/'.$x.'/');
    358                     $html = curl_file_get_html(''.$pluginurl.'/page/'.$x.'/');
     358                    $html = curl_file_get_html($pluginurl.'/page/'.$x.'/');
    359359                   
    360360                    // get news block
     
    429429            $pluginname = sanitize_text_field($_POST['pluginname']);
    430430            // $html = file_get_html(''.$pluginurl.'');
    431             $html = curl_file_get_html(''.$pluginurl.'');
     431            $html = curl_file_get_html($pluginurl);
    432432            $ret = array();
    433433           
Note: See TracChangeset for help on using the changeset viewer.