Merge branch '1185-Bug_Update_Manager_Online_Pandora_7_Open' into 'develop'

fixed errors in update manager open

See merge request !714
This commit is contained in:
vgilc 2017-08-18 12:35:32 +02:00
commit 6920831d60
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);