예제 #1
0
파일: updater.php 프로젝트: joebushi/joomla
 public function update($id)
 {
     $updaterow =& JTable::getInstance('update');
     $updaterow->load($id);
     $update = new JUpdate();
     if ($update->loadFromXML($updaterow->detailsurl)) {
         return $update->install();
     }
     return false;
 }