fixed errors in update manager open

This commit is contained in:
daniel 2017-08-04 14:07:27 +02:00
parent 2d8697eaeb
commit e875ce9b4e
1 changed files with 2 additions and 2 deletions

View File

@ -624,8 +624,8 @@ function update_manager_extract_package() {
$extracted = false; $extracted = false;
// Phar and exception working fine in 5.5.0 or higher // Phar and exception working fine in 5.6.0 or higher
if (PHP_VERSION_ID >= 50505) { if (PHP_VERSION_ID >= 50600) {
$phar = new PharData($path_package); $phar = new PharData($path_package);
try { try {
$result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true); $result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true);