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;
// Phar and exception working fine in 5.5.0 or higher
if (PHP_VERSION_ID >= 50505) {
// Phar and exception working fine in 5.6.0 or higher
if (PHP_VERSION_ID >= 50600) {
$phar = new PharData($path_package);
try {
$result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true);