Beispiel #1
0
 /**
  * Unzip the current file to the given directory
  * 
  * @param string $dir
  * @return boolean
  */
 public function unzip($dir)
 {
     if (strtolower($this->extension()) !== 'zip') {
         return false;
     }
     f::unzip($this->root(), $dir);
 }