コード例 #1
0
 /**
  * WPSDDisqus.
  * 
  * @param boolean $curl
  */
 function WPSDDisqus($curl = false)
 {
     parent::WPSDStats();
     $form = new WPSDAdminConfigForm();
     $this->un = trim($form->getWpsdDisqusUn());
     if ('' != $this->un) {
         $this->address = 'http://disqus.com/' . $this->un . '/';
         if ($this->isOutdated()) {
             $this->xml = $this->fetchDataRemote($this->address);
             $this->set();
         } else {
             $this->set_cached();
         }
     }
 }