Skip to content

Commit

Permalink
Pass the configuration tmp_path to the archive package for extension …
Browse files Browse the repository at this point in the history
…installations (#19608)

* pass the configuration tmp_path to the archive package for extension installations

* add missing \
  • Loading branch information
zero-24 authored and Michael Babker committed Feb 26, 2018
1 parent 720c5de commit def9a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Installer/InstallerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit def9a79

Please sign in to comment.