Esempio n. 1
0
 public function technorati()
 {
     technorati::ping(ORM::factory('setting', 'COMPANY_NAME')->value, 'http://' . $_SERVER['HTTP_HOST']);
 }
Esempio n. 2
0
 public function ping_technorati()
 {
     if (ORM::factory('setting', 'technorati_ping')->value == 'yes') {
         return technorati::ping($this->title, 'http://' . $_SERVER['HTTP_HOST'] . $this->get_url());
     }
 }