diff --git a/libraries/src/Installer/InstallerHelper.php b/libraries/src/Installer/InstallerHelper.php index 83bf3d29336ea..cc8d9ade5974e 100644 --- a/libraries/src/Installer/InstallerHelper.php +++ b/libraries/src/Installer/InstallerHelper.php @@ -132,7 +132,7 @@ public static function unpack($p_filename, $alwaysReturnArray = false) // Do the unpacking of the archive try { - $archive = new Archive; + $archive = new Archive(array('tmp_path' => \JFactory::getConfig()->get('tmp_path'))); $extract = $archive->extract($archivename, $extractdir); } catch (\Exception $e)