JInstallerHelper::unpack
Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip
Signature
public function unpack(string
$p_filename,
[boolean
$alwaysReturnArray = false] )
Parameters
-
$p_filename
- The uploaded package filename or install directory
-
$alwaysReturnArray
- If should return false (and leave garbage behind) or return $retval['type']=false
Returns
- mixed
- Array on success or boolean false on failure