示例#1
-1
文件: MO.php 项目: bohwaz/featherbb
 /**
  * Fills up with the entries from MO file $filename
  *
  * @param  string $filename MO file to load
  * @return bool   Success
  */
 public function import_from_file($filename)
 {
     $reader = new FileReader($filename);
     if (!$reader->is_resource()) {
         return false;
     }
     return $this->import_from_reader($reader);
 }